summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-18 18:50:13 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-21 13:23:59 +0200
commit87f6dc504d5d227ea66a4da37b350c2fc3df212b (patch)
tree5a90641311ecdff313ed6de66b7b1efb7949df2f /ripd
parentvtysh: Convert 'show logging' to use helper function. (diff)
downloadfrr-87f6dc504d5d227ea66a4da37b350c2fc3df212b.tar.xz
frr-87f6dc504d5d227ea66a4da37b350c2fc3df212b.zip
*: Add 'show debugging' command from vtysh
Allow vtysh to query every daemon about its debugging status in one go. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_debug.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ripd/rip_debug.c b/ripd/rip_debug.c
index 492d03699..56ba8e7f3 100644
--- a/ripd/rip_debug.c
+++ b/ripd/rip_debug.c
@@ -27,12 +27,12 @@ unsigned long rip_debug_event = 0;
unsigned long rip_debug_packet = 0;
unsigned long rip_debug_zebra = 0;
-DEFUN (show_debugging_rip,
- show_debugging_rip_cmd,
- "show debugging rip",
- SHOW_STR
- DEBUG_STR
- RIP_STR)
+DEFUN_NOSH (show_debugging_rip,
+ show_debugging_rip_cmd,
+ "show debugging [rip]",
+ SHOW_STR
+ DEBUG_STR
+ RIP_STR)
{
vty_out(vty, "RIP debugging status:\n");