summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2025-01-11 21:40:28 +0100
committerJafar Al-Gharaibeh <jafar@atcorp.com>2025-01-13 17:18:24 +0100
commitcda66453c1ffc82731dae24e2ccf7caeb69baa7c (patch)
tree960d9e86e46bb6ef891983feb0f234c315551988 /pimd
parentpimd: fix BSR RPs timing out (diff)
downloadfrr-cda66453c1ffc82731dae24e2ccf7caeb69baa7c.tar.xz
frr-cda66453c1ffc82731dae24e2ccf7caeb69baa7c.zip
pimd: explicitly ensure the RP src is BSR
With the recent suppoort of multiple sources of RPs, we can assume non static RPs are BSR RPs. Just make the check explicit for BSR. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_bsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c
index 672cdffaa..1dd54e535 100644
--- a/pimd/pim_bsm.c
+++ b/pimd/pim_bsm.c
@@ -391,7 +391,7 @@ static void pim_on_g2rp_timer(struct event *t)
return;
}
- if (rp_info->rp_src != RP_SRC_STATIC) {
+ if (rp_info->rp_src == RP_SRC_BSR) {
/* If new rp available, change it else delete the existing */
if (bsrp) {
pim_g2rp_timer_start(