X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fconfig.c;h=5fbb921d0bc68ad0b7057fca806ca254927755de;hp=ea690661b7d2e45d6c25c60760d725f8a2ab6afe;hb=b461334ab277b6e8fd1622ab7c8a655363bd3f6c;hpb=cf90f5ab2d5b4b6cece7d0096df12eb29e7d1568 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)); }