summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-10-20 15:34:29 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:11 +0100
commitb05b72e80b840fd8628b890cb6fa5c8ca7d73dd3 (patch)
treea8d5f0314de5725102affaf9b0968a030548ea5c /pimd/pim_vty.c
parentpimd: Allow debugs entered in conf t mode to persist (diff)
downloadfrr-b05b72e80b840fd8628b890cb6fa5c8ca7d73dd3.tar.xz
frr-b05b72e80b840fd8628b890cb6fa5c8ca7d73dd3.zip
pimd: add support for IGMPv2
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Ticket: CM-7962
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 3eb04d347..644fb8e69 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -215,6 +215,15 @@ int pim_interface_config_write(struct vty *vty)
++writes;
}
+ /* ip igmp version */
+ if (pim_ifp->igmp_version != IGMP_DEFAULT_VERSION)
+ {
+ vty_out(vty, " ip igmp version %d%s",
+ pim_ifp->igmp_version,
+ VTY_NEWLINE);
+ ++writes;
+ }
+
/* IF ip igmp query-interval */
if (pim_ifp->igmp_default_query_interval != IGMP_GENERAL_QUERY_INTERVAL)
{