ndp: more fixes
[project/odhcpd.git] / src / config.c
index ea69066..5fbb921 100644 (file)
@@ -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));
 }