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:
aaa6302
)
if an interface is brought down by the proto handler and autostart is still active...
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 12 Oct 2011 14:19:52 +0000
(16:19 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 12 Oct 2011 14:19:52 +0000
(16:19 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 37b20cc9c03b13f4eb0a85bc1be494f04dc53be1..514b4d5e10035b3aa2e3e000724df73d2e23f41a 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-250,6
+250,8
@@
interface_proto_cb(struct interface_proto_state *state, enum interface_proto_eve
mark_interface_down(iface);
interface_handle_config_change(iface);
+ if (iface->autostart)
+ __interface_set_up(iface);
break;
case IFPEV_LINK_LOST:
if (iface->state != IFS_UP)