Merge pull request #18208 from FRRouting/mergify/bp/stable/10.2/pr-17666

pimd: During prefix-list update, behave as PIM_UPSTREAM_NOTJOINED sta… (backport #17666)
This commit is contained in:
Donald Sharp 2025-02-20 16:19:23 -05:00 committed by GitHub
commit f526b3d8f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -635,6 +635,12 @@ void pim_upstream_update_use_rpt(struct pim_upstream *up,
if (pim_addr_is_any(up->sg.src))
return;
/* Ignore RP mapping when the upsteam state
* is NOT Joined on a FHR
*/
if (up->join_state == PIM_UPSTREAM_NOTJOINED && PIM_UPSTREAM_FLAG_TEST_FHR(up->flags))
return;
old_use_rpt = !!PIM_UPSTREAM_FLAG_TEST_USE_RPT(up->flags);
/* We will use the SPT (IIF=RPF_interface(S) if -