Skip to content

Commit

Permalink
Merge pull request FRRouting#17569 from btrent98/igmp-proxy-bugfix
Browse files Browse the repository at this point in the history
pimd: igmp proxy joins should not be written as part of config
  • Loading branch information
donaldsharp authored Dec 4, 2024
2 parents f1ab0a0 + d4b8a98 commit 6bf4283
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pimd/pim_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6bf4283

Please sign in to comment.