From: Ben Kelly Date: Mon, 20 Feb 2017 12:04:30 +0000 (+0200) Subject: swconfig: Bugfix switch_port uci option parsing X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df9e7b1b269f4bd617cd8eb1b8f8a0d9ecb57160;hp=df9e7b1b269f4bd617cd8eb1b8f8a0d9ecb57160;p=librecmc%2Flibrecmc.git swconfig: Bugfix switch_port uci option parsing When not defining 'device' or 'vlan' in relevant switch_port uci sections, behaviour is inconsistent due to *devn, *port and *vlan pointers not being zero initialized. Signed-off-by: Ben Kelly ---