summaryrefslogtreecommitdiff
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-09-26 00:09:45 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-09-26 00:09:45 -0700
commita25597611dcee95d5a7f9d9b08a0705afab14a20 (patch)
treea932876f8507a188b7eebc665cee0aba61b08376 /pimd/pim_vty.c
parentf1877005458ed7ee5847a375ed24fa67422b40c5 (diff)
pimd,pim6d: Change the show running commands based on address family
Change the show running commands for igmp and mld debug commands based on the address family. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 315fbae95c..9021f1e12f 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -59,20 +59,20 @@ int pim_debug_config_write(struct vty *vty)
++writes;
}
if (PIM_DEBUG_GM_EVENTS) {
- vty_out(vty, "debug igmp events\n");
+ vty_out(vty, "debug " GM_AF_DBG " events\n");
++writes;
}
if (PIM_DEBUG_GM_PACKETS) {
- vty_out(vty, "debug igmp packets\n");
+ vty_out(vty, "debug " GM_AF_DBG " packets\n");
++writes;
}
/* PIM_DEBUG_GM_TRACE catches _DETAIL too */
if (router->debugs & PIM_MASK_GM_TRACE) {
- vty_out(vty, "debug igmp trace\n");
+ vty_out(vty, "debug " GM_AF_DBG " trace\n");
++writes;
}
if (PIM_DEBUG_GM_TRACE_DETAIL) {
- vty_out(vty, "debug igmp trace detail\n");
+ vty_out(vty, "debug " GM_AF_DBG " trace detail\n");
++writes;
}