do not override iface->autostart on config reload
authorFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 16:51:32 +0000 (18:51 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 16:51:32 +0000 (18:51 +0200)
interface.c

index fa4b2254a5b38c082b59563df468971f0434b60f..506a478704539c20e4abd7c001544954475d0716 100644 (file)
@@ -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