From c0bb8addecae578d7766b94bd6681be82b621675 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 3 Feb 2012 00:15:04 +0100 Subject: [PATCH] update the interface list version on config reload, fixes removing old interfaces --- config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.c b/config.c index 8472d44..ba97a5c 100644 --- 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(); } -- 2.30.2