Skip to content

Commit

Permalink
pimd: explicitly ensure the RP src is BSR
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Jafaral committed Jan 13, 2025
1 parent c30a3ad commit cda6645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pimd/pim_bsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit cda6645

Please sign in to comment.