summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-27 17:40:46 -0700
committerPaul Jakma <paul@quagga.net>2015-07-29 21:44:02 +0100
commitcd557c3d766a7233490b8cf7325219ffa1398ef2 (patch)
treeb69b7c4a2639e5acc6bdc457bbfa4752732afc28 /pimd
parent08d95905acd0cbb810831429b638ac2d1604ca37 (diff)
downloadquagga-cd557c3d766a7233490b8cf7325219ffa1398ef2.tar.bz2
quagga-cd557c3d766a7233490b8cf7325219ffa1398ef2.tar.xz
pim: 'show debugging' collision
The 'show debugging' cli as setup by pim collided with 'show debugging isis'. Fix that and clean up cli help commands to actually display correctly. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_cmd.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 13812cd8..a5d11b9f 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -3519,11 +3519,12 @@ ALIAS (no_debug_pim_zebra,
DEBUG_PIM_STR
DEBUG_PIM_ZEBRA_STR)
-DEFUN (show_debugging,
- show_debugging_cmd,
- "show debugging",
+DEFUN (show_debugging_pim,
+ show_debugging_pim_cmd,
+ "show debugging pim",
SHOW_STR
- "State of each debugging option\n")
+ DEBUG_STR
+ PIM_STR)
{
pim_debug_config_write(vty);
return CMD_SUCCESS;
@@ -4373,7 +4374,7 @@ void pim_cmd_init()
install_element (VIEW_NODE, &show_ip_mroute_count_cmd);
install_element (VIEW_NODE, &show_ip_rib_cmd);
install_element (VIEW_NODE, &show_ip_ssmpingd_cmd);
- install_element (VIEW_NODE, &show_debugging_cmd);
+ install_element (VIEW_NODE, &show_debugging_pim_cmd);
install_element (ENABLE_NODE, &clear_ip_interfaces_cmd);
install_element (ENABLE_NODE, &clear_ip_igmp_interfaces_cmd);
@@ -4412,7 +4413,7 @@ void pim_cmd_init()
install_element (ENABLE_NODE, &show_ip_mroute_count_cmd);
install_element (ENABLE_NODE, &show_ip_rib_cmd);
install_element (ENABLE_NODE, &show_ip_ssmpingd_cmd);
- install_element (ENABLE_NODE, &show_debugging_cmd);
+ install_element (ENABLE_NODE, &show_debugging_pim_cmd);
install_element (ENABLE_NODE, &test_igmp_receive_report_cmd);
install_element (ENABLE_NODE, &test_pim_receive_assert_cmd);