summaryrefslogtreecommitdiff
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-08-02 06:34:30 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-08-02 06:34:30 -0700
commit614b77fef5712ec10546764b2ca49c50792f95a2 (patch)
tree8e2477bfc57eb8d96fb39a4790335058a0c07482 /pimd/pim_vty.c
parent2af7b0450bead3776659ef54aec706f0dfdc4594 (diff)
pim6d: Change the show running commands for pimv6 debugs
Change the show running commands for bsm and vxlan pimv4 and pimv6 debug commands based on the address family. Including bsm and vxlan in no debug pimv6 debug. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 43d9c29278..f9642b2133 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -129,12 +129,12 @@ int pim_debug_config_write(struct vty *vty)
}
if (PIM_DEBUG_BSM) {
- vty_out(vty, "debug pim bsm\n");
+ vty_out(vty, "debug " PIM_AF_DBG " bsm\n");
++writes;
}
if (PIM_DEBUG_VXLAN) {
- vty_out(vty, "debug pim vxlan\n");
+ vty_out(vty, "debug " PIM_AF_DBG " vxlan\n");
++writes;
}