projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move address handling to common code
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
0576166
..
88cf682
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-189,6
+189,8
@@
alloc_interface(const char *name, struct uci_section *s)
strncpy(iface->name, name, sizeof(iface->name) - 1);
list_add(&iface->list, &interfaces);
INIT_LIST_HEAD(&iface->errors);
+ INIT_LIST_HEAD(&iface->address);
+ INIT_LIST_HEAD(&iface->routes);
proto_attach_interface(iface, s);