projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd5498
)
remove duplicate interface down events
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 2 May 2012 10:52:59 +0000
(12:52 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 2 May 2012 10:53:04 +0000
(12:53 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 3a404326ebd19b4e707e26c6a061608bc9c51032..304cccf910ce494f3cb9e77e8be22bf6e19a900f 100644
(file)
--- 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;