projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c5380
)
netifd: Handle link down event in interface setup state as well
author
Hans Dedecker
<dedeckeh@gmail.com>
Mon, 22 Dec 2014 14:46:16 +0000
(15:46 +0100)
committer
Steven Barth
<steven@midlink.org>
Tue, 23 Dec 2014 13:00:36 +0000
(14:00 +0100)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 4b5405ee228ed07047594e96871495487da15390..83d7f94fe8268354925d65463ca62db7c54d93bf 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-271,6
+271,7
@@
interface_check_state(struct interface *iface)
switch (iface->state) {
case IFS_UP:
+ case IFS_SETUP:
if (!iface->enabled || !link_state) {
interface_proto_event(iface->proto, PROTO_CMD_TEARDOWN, false);
mark_interface_down(iface);