summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-01-27 20:33:01 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-02-14 21:54:29 +0100
commite81d9709ff979502ff7b28ea622d04407068e0c2 (patch)
tree9e6a21db68270d1b95952e827909cce8feca7b30 /pimd/pim_mroute.c
parentpimd: mroute entries unresolved IIF issue (diff)
downloadfrr-e81d9709ff979502ff7b28ea622d04407068e0c2.tar.xz
frr-e81d9709ff979502ff7b28ea622d04407068e0c2.zip
pimd: ifdown sequnce stale report entry
Ticket: CM-14652 Testing Done: Tested via sending IGMP report and flap port and verified pim upstream and mroute, the entry is deleted. Run pim-smoke Even after Report received port down event, IGMP entry alawys exists in upstream, mroute, kernel. The entry exist because it was recreated after delete due missing check if group has no more source list, mode is exclude, last source address was * means (*, G) so do not trigger to create entry. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index c2f06ab57..4fae5b3ca 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -734,6 +734,13 @@ int pim_mroute_del_vif(int vif_index)
return -1;
}
+ if (PIM_DEBUG_MROUTE)
+ {
+ struct interface *ifp = pim_if_find_by_vif_index (vif_index);
+ zlog_debug ("%s %s: Del Vif %d (%s) ", __FILE__,
+ __PRETTY_FUNCTION__, vif_index, ifp ? ifp->name : "NULL");
+ }
+
memset(&vc, 0, sizeof(vc));
vc.vifc_vifi = vif_index;