diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-18 18:50:13 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-21 13:23:59 +0200 |
commit | 87f6dc504d5d227ea66a4da37b350c2fc3df212b (patch) | |
tree | 5a90641311ecdff313ed6de66b7b1efb7949df2f /ospfd/ospf_dump.c | |
parent | vtysh: Convert 'show logging' to use helper function. (diff) | |
download | frr-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 'ospfd/ospf_dump.c')
-rw-r--r-- | ospfd/ospf_dump.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c index d3d1ffed5..619bd4e5f 100644 --- a/ospfd/ospf_dump.c +++ b/ospfd/ospf_dump.c @@ -1597,12 +1597,12 @@ static int show_debugging_ospf_common(struct vty *vty, struct ospf *ospf) return CMD_SUCCESS; } -DEFUN (show_debugging_ospf, - show_debugging_ospf_cmd, - "show debugging ospf", - SHOW_STR - DEBUG_STR - OSPF_STR) +DEFUN_NOSH (show_debugging_ospf, + show_debugging_ospf_cmd, + "show debugging [ospf]", + SHOW_STR + DEBUG_STR + OSPF_STR) { struct ospf *ospf; @@ -1612,13 +1612,13 @@ DEFUN (show_debugging_ospf, return show_debugging_ospf_common(vty, ospf); } -DEFUN (show_debugging_ospf_instance, - show_debugging_ospf_instance_cmd, - "show debugging ospf (1-65535)", - SHOW_STR - DEBUG_STR - OSPF_STR - "Instance ID\n") +DEFUN_NOSH (show_debugging_ospf_instance, + show_debugging_ospf_instance_cmd, + "show debugging ospf (1-65535)", + SHOW_STR + DEBUG_STR + OSPF_STR + "Instance ID\n") { int idx_number = 3; struct ospf *ospf; |