add code to set ip addresses when an interface with the static proto is brought up
[project/netifd.git] / config.c
index 2442eff..94a7fdb 100644 (file)
--- a/config.c
+++ b/config.c
@@ -34,7 +34,7 @@ config_parse_interface(struct uci_section *s)
 
        DPRINTF("Create interface '%s'\n", s->e.name);
 
-       iface = alloc_interface(s->e.name);
+       iface = alloc_interface(s->e.name, s);
        if (!iface)
                return;