mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 10:09:25 +00:00
pimd: fix (s,g) expiry.
Fix: When RP receives a (*, G) join and corresponding (s,g) is present, then check for OIL is not-empty, then only switch upstream (s, g) state to JOINED. Signed-off-by: Sarita Patra <saritap@vmware.com>
This commit is contained in:
parent
764252d0ab
commit
0cdbb2cf1a
@ -1404,7 +1404,9 @@ void pim_ifchannel_set_star_g_join_state(struct pim_ifchannel *ch, int eom,
|
||||
PIM_IF_FLAG_UNSET_S_G_RPT(child->flags);
|
||||
child->ifjoin_state = PIM_IFJOIN_NOINFO;
|
||||
|
||||
if (I_am_RP(pim, child->sg.grp)) {
|
||||
if ((I_am_RP(pim, child->sg.grp)) &&
|
||||
(!pim_upstream_empty_inherited_olist(
|
||||
child->upstream))) {
|
||||
pim_channel_add_oif(
|
||||
child->upstream->channel_oil,
|
||||
ch->interface, PIM_OIF_FLAG_PROTO_STAR);
|
||||
|
Loading…
Reference in New Issue
Block a user