projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move interface address handling to the device module, clean up arguments to system_...
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
88cf682
..
0a53151
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-64,6
+64,7
@@
interface_event(struct interface *iface, enum interface_event ev)
static void
mark_interface_down(struct interface *iface)
{
+ interface_del_ctx_addr(iface, NULL);
release_device(iface->main_dev.dev);
iface->state = IFS_DOWN;
}