diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-18 12:50:13 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-21 07:23:59 -0400 |
| commit | 87f6dc504d5d227ea66a4da37b350c2fc3df212b (patch) | |
| tree | 5a90641311ecdff313ed6de66b7b1efb7949df2f /ripd/rip_debug.c | |
| parent | 7292d8510f37ad85a295d8e361631a85e1e87234 (diff) | |
*: 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/rip_debug.c')
| -rw-r--r-- | ripd/rip_debug.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ripd/rip_debug.c b/ripd/rip_debug.c index 492d036991..56ba8e7f3e 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"); |
