summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bsm.c
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2022-02-03 12:31:54 +0100
committerMobashshera Rasool <mrasool@vmware.com>2022-03-08 09:57:51 +0100
commit49b7b2c4a83bd2d7f2a122d46df9d717943e0e05 (patch)
tree4f65ea5d0710102236253139df2a1f26c14af6bf /pimd/pim_bsm.c
parentpim6d: Convert %s to %pPA for RP Addresses (diff)
downloadfrr-49b7b2c4a83bd2d7f2a122d46df9d717943e0e05.tar.xz
frr-49b7b2c4a83bd2d7f2a122d46df9d717943e0e05.zip
pim6d: Modify pim_rp_change api for pimv6
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pimd/pim_bsm.c')
-rw-r--r--pimd/pim_bsm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c
index c45823cb8..61e51c017 100644
--- a/pimd/pim_bsm.c
+++ b/pimd/pim_bsm.c
@@ -324,10 +324,9 @@ static void pim_on_g2rp_timer(struct thread *t)
if (rp_info->rp_src != RP_SRC_STATIC) {
/* If new rp available, change it else delete the existing */
if (bsrp) {
- bsrp_addr = bsrp->rp_address;
pim_g2rp_timer_start(
bsrp, (bsrp->rp_holdtime - bsrp->elapse_time));
- pim_rp_change(pim, bsrp_addr, bsgrp_node->group,
+ pim_rp_change(pim, bsrp->rp_address, bsgrp_node->group,
RP_SRC_BSR);
} else {
pim_rp_del(pim, bsrp_addr, bsgrp_node->group, NULL,