summaryrefslogtreecommitdiff
path: root/pimd/pim_join.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 11:43:27 -0800
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 14:16:08 -0800
commit1537a66871ad2f46d0bbed23ef5b87c0b1e102e3 (patch)
tree12e2a622344285a04f0765718d24c1f08bd68df7 /pimd/pim_join.c
parentd86632fba3fb2839edfefc5e67b929040c73fc61 (diff)
pimd: re-eval JD on sources when a STAR_OIF is removed
When a inherited OIL becomes empty join-desired can go to false. So we need to re-run join-desired evaluation on any inherited OIL changes. Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_join.c')
-rw-r--r--pimd/pim_join.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c
index fcd93bcf24..53bfb28228 100644
--- a/pimd/pim_join.c
+++ b/pimd/pim_join.c
@@ -337,10 +337,9 @@ int pim_joinprune_recv(struct interface *ifp, struct pim_neighbor *neigh,
"%s: SGRpt flag is set, del inherit oif from up %s",
__PRETTY_FUNCTION__,
up->sg_str);
- pim_channel_del_oif(
+ pim_channel_del_inherited_oif(
up->channel_oil,
starg_ch->interface,
- PIM_OIF_FLAG_PROTO_STAR,
__func__);
}
}