summaryrefslogtreecommitdiffhomepage
path: root/src/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/router.c')
-rw-r--r--src/router.c2
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) {