From 87f6dc504d5d227ea66a4da37b350c2fc3df212b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 18 Aug 2017 12:50:13 -0400 Subject: *: Add 'show debugging' command from vtysh Allow vtysh to query every daemon about its debugging status in one go. Signed-off-by: Donald Sharp --- zebra/debug.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'zebra/debug.c') 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"); -- cgit v1.2.3