diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-02-03 00:15:04 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-02-03 00:15:04 +0100 |
commit | c0bb8addecae578d7766b94bd6681be82b621675 (patch) | |
tree | 3e1accdbb3def6a3579bf1b174c49bf2bc64870a | |
parent | e270a58cef32d7b48edd6661e339ca855d177fe2 (diff) |
update the interface list version on config reload, fixes removing old interfaces
-rw-r--r-- | config.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); } |