From d6ea48d146b4fa2905afa4acc2ff34b37ce5a623 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 6 Oct 2011 03:28:04 +0200 Subject: [PATCH] delay bringup of interfaces until after the config reload --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 9454dc1..eb2f754 100644 --- a/interface.c +++ b/interface.c @@ -207,7 +207,7 @@ interface_do_reload(struct interface *iface) interface_claim_device(iface); proto_init_interface(iface, iface->config); - if (iface->autostart) + if (iface->autostart && !config_init) interface_set_up(iface); } -- 2.30.2