swconfig: Bugfix switch_port uci option parsing
authorBen Kelly <ben@benjii.net>
Mon, 20 Feb 2017 12:04:30 +0000 (14:04 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 23 Feb 2017 15:52:17 +0000 (16:52 +0100)
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 <ben@benjii.net>

No differences found