projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
interface: fix "if-down" hotplug event handling
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index fd7a826dc2a52e14594232307b206a7719a094c7..e0652cdb79d0fc957a11db2146242a439c51fbf7 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-269,6
+269,7
@@
mark_interface_down(struct interface *iface)
iface->state = IFS_DOWN;
switch (state) {
case IFS_UP:
+ case IFS_TEARDOWN:
interface_event(iface, IFEV_DOWN);
break;
case IFS_SETUP: