projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
only free unused devices after the final config init
[project/netifd.git]
/
config.c
diff --git
a/config.c
b/config.c
index
23902ff
..
6f8d3b7
100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-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();
}