summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.c b/interface.c
index fd7a826..e0652cd 100644
--- 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: