summaryrefslogtreecommitdiffhomepage
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 526a20f..3546787 100644
--- a/config.c
+++ b/config.c
@@ -323,6 +323,7 @@ config_parse_vlan(struct device *dev, struct uci_section *s)
vlan->n_ports = n_ports;
vlan->ports = port = (struct bridge_vlan_port *)&vlan[1];
+ INIT_LIST_HEAD(&vlan->hotplug_ports);
name_buf = (char *)&port[n_ports];
blobmsg_for_each_attr(cur, tb[BRVLAN_ATTR_PORTS], rem) {