summaryrefslogtreecommitdiffstats
path: root/zebra/debug.c
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 /zebra/debug.c
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 'zebra/debug.c')
-rw-r--r--zebra/debug.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index 25f47bc51..afeba1c6d 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -34,12 +34,12 @@ unsigned long zebra_debug_mpls;
unsigned long zebra_debug_vxlan;
unsigned long zebra_debug_pw;
-DEFUN (show_debugging_zebra,
- show_debugging_zebra_cmd,
- "show debugging zebra",
- SHOW_STR
- "Debugging information\n"
- "Zebra configuration\n")
+DEFUN_NOSH (show_debugging_zebra,
+ show_debugging_zebra_cmd,
+ "show debugging [zebra]",
+ SHOW_STR
+ "Debugging information\n"
+ "Zebra configuration\n")
{
vty_out(vty, "Zebra debugging status:\n");