summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-02 12:52:59 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-05-02 12:53:04 +0200
commit7ca1a4ce12dfe0ded199526571414bec9362bedc (patch)
tree1b6d732e0830ceb8dc131e43a3a57963c4e1ab72
parent0cd5498ea51d681124d713130aef7a964b30ef25 (diff)
remove duplicate interface down events
-rw-r--r--interface.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index 3a40432..304cccf 100644
--- a/interface.c
+++ b/interface.c
@@ -319,8 +319,6 @@ interface_proto_cb(struct interface_proto_state *state, enum interface_proto_eve
return;
netifd_log_message(L_NOTICE, "Interface '%s' has lost the connection\n", iface->name);
- if (iface->state == IFS_UP)
- interface_event(iface, IFEV_DOWN);
mark_interface_down(iface);
system_flush_routes();
iface->state = IFS_SETUP;