summaryrefslogtreecommitdiff
path: root/pimd
diff options
context:
space:
mode:
authorBarry A. Trent <barry.trent@atcorp.com>2024-12-03 11:17:33 -0800
committerBarry A. Trent <barry.trent@atcorp.com>2024-12-03 13:44:08 -0800
commitd4b8a98019f6a2723089eda88adfa45494a5e8f7 (patch)
tree3f23bb11d8aeba5efd3488cfc666f3cd32b48b2c /pimd
parente9c9db0122ec29d7d97d11d93d14e2b04efe191a (diff)
pimd: igmp proxy joins should not be written as part of config
Signed-off-by: Barry A. Trent <barry.trent@atcorp.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_vty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 4d83593c17..ed91d2339b 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);