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>
This commit is contained in:
Jafar Al-Gharaibeh 2025-01-11 14:40:28 -06:00
parent c30a3ad890
commit cda66453c1

View file

@ -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(