summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 4aaded9..e31740b 100644
--- a/src/config.c
+++ b/src/config.c
@@ -499,6 +499,10 @@ void odhcpd_run(void)
signal(SIGHUP, set_stop);
signal(SIGINT, set_stop);
+#ifdef WITH_UBUS
+ init_ubus();
+#endif
+
do {
do_reload = uloop_cancelled = false;
@@ -558,7 +562,7 @@ void odhcpd_run(void)
list_for_each_entry_safe(i, n, &interfaces, head) {
- if (i->inuse && !i->ignore) {
+ if (i->inuse) {
// Resolve hybrid mode
if (i->dhcpv6 == RELAYD_HYBRID)
i->dhcpv6 = (master && master->dhcpv6 == RELAYD_RELAY) ?