summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-10-17 13:14:47 +0200
committerSteven Barth <steven@midlink.org>2014-10-17 13:14:47 +0200
commitff9d2a001bea612cad05d9d317f0f0ca555aa72f (patch)
tree0b5f384019cdb2933cad17a72785b32566a0ca0a /src/config.c
parentb4fe0fbfe452e503e689104f093ee32875bc48d3 (diff)
ndp: more fixes
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index ea69066..5fbb921 100644
--- a/src/config.c
+++ b/src/config.c
@@ -717,5 +717,8 @@ void odhcpd_run(void)
odhcpd_reload();
uloop_run();
+
+ while (!list_empty(&interfaces))
+ close_interface(list_first_entry(&interfaces, struct interface, head));
}