diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-05 18:51:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-05 18:51:32 +0200 |
commit | acba9316063c79b539ef330579e2ea420a93b5a9 (patch) | |
tree | 2534715f30eabbc451845d87b0493a55365c7f2f | |
parent | 1a79aa02ae4970149824ac7711ad8c4a2971c84e (diff) |
do not override iface->autostart on config reload
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index fa4b225..506a478 100644 --- a/interface.c +++ b/interface.c @@ -392,7 +392,7 @@ set_config_state(struct interface *iface, enum interface_config_state s) if (iface->state == IFS_DOWN) interface_handle_config_change(iface); else - interface_set_down(iface); + __interface_set_down(iface, false); } static void |