summaryrefslogtreecommitdiffstats
path: root/pimd/pim_cmd_common.c
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2022-07-07 17:03:45 +0200
committerSarita Patra <saritap@vmware.com>2022-08-03 16:47:36 +0200
commit4459f499c4ad7a835993bfb4b3140ed7b18eaab2 (patch)
tree36e909ac1404cdb357bc39d7a5ea2803678972a9 /pimd/pim_cmd_common.c
parentMerge pull request #11731 from opensourcerouting/feature/show_bgp_access-list (diff)
downloadfrr-4459f499c4ad7a835993bfb4b3140ed7b18eaab2.tar.xz
frr-4459f499c4ad7a835993bfb4b3140ed7b18eaab2.zip
pim6d: fix clear ipv6 mroute
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.c')
-rw-r--r--pimd/pim_cmd_common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.c b/pimd/pim_cmd_common.c
index b7bd7375c..b59fac700 100644
--- a/pimd/pim_cmd_common.c
+++ b/pimd/pim_cmd_common.c
@@ -56,6 +56,7 @@
#include "pim_addr.h"
#include "pim_static.h"
#include "pim_util.h"
+#include "pim6_mld.h"
/**
* Get current node VRF name.
@@ -3994,6 +3995,12 @@ void clear_mroute(struct pim_instance *pim)
igmp_group_delete(grp);
}
}
+#else
+ struct gm_if *gm_ifp;
+
+ gm_ifp = pim_ifp->mld;
+ if (gm_ifp)
+ gm_group_delete(gm_ifp);
#endif
}