forked from Mirror/frr
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:
parent
c30a3ad890
commit
cda66453c1
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue