summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.c b/src/config.c
index 44b049d..8b0d945 100644
--- a/src/config.c
+++ b/src/config.c
@@ -696,10 +696,10 @@ void odhcpd_reload(void)
i->ndp = (master && master->ndp == RELAYD_RELAY) ?
RELAYD_RELAY : RELAYD_DISABLED;
- setup_router_interface(i, true);
- setup_dhcpv6_interface(i, true);
- setup_ndp_interface(i, true);
- setup_dhcpv4_interface(i, true);
+ setup_router_interface(i, !i->ignore);
+ setup_dhcpv6_interface(i, !i->ignore);
+ setup_ndp_interface(i, !i->ignore);
+ setup_dhcpv4_interface(i, !i->ignore);
} else {
close_interface(i);
}