From d4b8a98019f6a2723089eda88adfa45494a5e8f7 Mon Sep 17 00:00:00 2001 From: "Barry A. Trent" Date: Tue, 3 Dec 2024 11:17:33 -0800 Subject: [PATCH] pimd: igmp proxy joins should not be written as part of config Signed-off-by: Barry A. Trent --- pimd/pim_vty.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 4d83593c17d2..ed91d2339b5f 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -342,6 +342,9 @@ static int gm_config_write(struct vty *vty, int writes, struct listnode *node; struct gm_join *ij; for (ALL_LIST_ELEMENTS_RO(pim_ifp->gm_join_list, node, ij)) { + if (ij->join_type == GM_JOIN_PROXY) + continue; + if (pim_addr_is_any(ij->source_addr)) vty_out(vty, " ip igmp join-group %pPAs\n", &ij->group_addr); @@ -412,6 +415,9 @@ static int gm_config_write(struct vty *vty, int writes, struct gm_join *ij; for (ALL_LIST_ELEMENTS_RO(pim_ifp->gm_join_list, node, ij)) { + if (ij->join_type == GM_JOIN_PROXY) + continue; + if (pim_addr_is_any(ij->source_addr)) vty_out(vty, " ipv6 mld join-group %pPAs\n", &ij->group_addr);