projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add code for cleaning up unused devices mentioned in the config
[project/netifd.git]
/
config.c
diff --git
a/config.c
b/config.c
index
6019862
..
1711121
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-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();