diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2025-01-11 14:40:28 -0600 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-14 17:40:36 +0000 |
| commit | bd8bc87638dd6f7a55b76a90a228a19f13ce0b4a (patch) | |
| tree | ef1a3091fee37773700e97579d3952ca580a0bfc | |
| parent | e11e007fc7236e78d67a1d684c1669ce76dc3490 (diff) | |
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>
(cherry picked from commit cda66453c1ffc82731dae24e2ccf7caeb69baa7c)
| -rw-r--r-- | pimd/pim_bsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c index b0c7a4c74e..5a194e3119 100644 --- a/pimd/pim_bsm.c +++ b/pimd/pim_bsm.c @@ -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( |
