projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e270a58
)
update the interface list version on config reload, fixes removing old interfaces
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 2 Feb 2012 23:15:04 +0000
(
00:15
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 2 Feb 2012 23:15:04 +0000
(
00:15
+0100)
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 8472d44f0ff9c9dcaa9e4d59699a45921cca8265..ba97a5c01593a65b8d0628ad0ea1bab37f84e806 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-395,6
+395,7
@@
config_init_all(void)
return;
}
+ vlist_update(&interfaces);
config_init = true;
device_lock();
@@
-409,5
+410,6
@@
config_init_all(void)
device_reset_old();
device_init_pending();
device_free_unused(NULL);
+ vlist_flush(&interfaces);
interface_start_pending();
}