From 693a37ab04792c74df4481bcf9e7aef55f0bbe06 Mon Sep 17 00:00:00 2001 From: "Barry A. Trent" Date: Tue, 3 Dec 2024 14:43:47 -0800 Subject: [PATCH] pimd: free igmp proxy joins on interface deletion Signed-off-by: Barry A. Trent --- pimd/pim_iface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index 20e3ba184ba8..19460aa445d6 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -1464,8 +1464,7 @@ static void pim_if_gm_join_del_all(struct interface *ifp) return; for (ALL_LIST_ELEMENTS(pim_ifp->gm_join_list, node, nextnode, ij)) - pim_if_gm_join_del(ifp, ij->group_addr, ij->source_addr, - GM_JOIN_STATIC); + pim_if_gm_join_del(ifp, ij->group_addr, ij->source_addr, ij->join_type); } ferr_r pim_if_static_group_add(struct interface *ifp, pim_addr group_addr,