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 11, 2025
1 parent 7650387 commit 0bebbc6
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 @@ -392,7 +392,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 0bebbc6

Please sign in to comment.