diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-06 18:05:59 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-06 18:07:08 +0200 |
commit | 33f7932e34d10b5429ea05332ef1e8421ef90916 (patch) | |
tree | 9916d5562bcc91a8322ad405bed57a8a8ae840d0 /config.c | |
parent | e443a041117d0d09e81a9797d205e5b70c481b15 (diff) |
only free unused devices after the final config init
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -341,10 +341,10 @@ config_init_interfaces(const char *name) if (!strcmp(s->type, "interface")) config_parse_interface(s); } - device_free_unused(NULL); config_init = false; device_reset_old(); device_init_pending(); + device_free_unused(NULL); interface_start_pending(); } |