diff options
| author | Barry A. Trent <barry.trent@atcorp.com> | 2024-12-03 11:17:33 -0800 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-04 13:17:47 +0000 |
| commit | 44e85a55a1d779cbd68317983c2234360c04098e (patch) | |
| tree | 416ea4433c78936c08c926d8ecb3069b5d56f568 /pimd | |
| parent | 0b26493ea638b31ff52c8fc2e493dca5087658db (diff) | |
pimd: igmp proxy joins should not be written as part of config
Signed-off-by: Barry A. Trent <barry.trent@atcorp.com>
(cherry picked from commit d4b8a98019f6a2723089eda88adfa45494a5e8f7)
Diffstat (limited to 'pimd')
| -rw-r--r-- | pimd/pim_vty.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index b633e81d55..bb620b7a7a 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -325,6 +325,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); @@ -395,6 +398,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); |
