diff options
-rw-r--r-- | src/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.c b/src/router.c index 8e3013c..70f9462 100644 --- a/src/router.c +++ b/src/router.c @@ -172,7 +172,7 @@ int router_setup_interface(struct interface *iface, bool enable) &mreq, sizeof(mreq)); if (!enable) { - if (iface->ra) + if (iface->ra == MODE_SERVER || (iface->ra == MODE_RELAY && !iface->master)) trigger_router_advert(&iface->timer_rs); } else { if (iface->ra == MODE_RELAY && iface->master) { |