summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-05 18:51:32 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-05 18:51:32 +0200
commitacba9316063c79b539ef330579e2ea420a93b5a9 (patch)
tree2534715f30eabbc451845d87b0493a55365c7f2f /interface.c
parent1a79aa02ae4970149824ac7711ad8c4a2971c84e (diff)
do not override iface->autostart on config reload
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
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