diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-05 03:52:39 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-05 03:52:39 +0200 |
commit | d3a4844047c7b3c62511a9836a81703b5ee70fc0 (patch) | |
tree | cd25491c58cbba0bebd5f0f17ce155d668528544 /config.c | |
parent | b18fb36bd3c7615733c351c99691e1139f386c0c (diff) |
add code for cleaning up unused devices mentioned in the config
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -180,6 +180,7 @@ config_init_interfaces(const char *name) if (!strcmp(s->type, "interface")) config_parse_interface(s); } + cleanup_devices(); config_init = false; start_pending_interfaces(); |