diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -344,6 +344,7 @@ config_init_interfaces(const char *name) uci_network = p; config_init = true; + device_lock(); device_reset_config(); config_init_devices(); @@ -357,7 +358,9 @@ config_init_interfaces(const char *name) if (!strcmp(s->type, "interface")) config_parse_interface(s); } + config_init = false; + device_unlock(); device_reset_old(); device_init_pending(); |