summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp_vty_cmds.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 /ldpd/ldp_vty_cmds.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 'ldpd/ldp_vty_cmds.c')
-rw-r--r--ldpd/ldp_vty_cmds.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ldpd/ldp_vty_cmds.c b/ldpd/ldp_vty_cmds.c
index db92b9362..be473063c 100644
--- a/ldpd/ldp_vty_cmds.c
+++ b/ldpd/ldp_vty_cmds.c
@@ -684,13 +684,13 @@ DEFPY (ldp_show_l2vpn_atom_vc,
return (ldp_vty_show_atom_vc(vty, json));
}
-DEFPY (ldp_show_debugging_mpls_ldp,
- ldp_show_debugging_mpls_ldp_cmd,
- "show debugging mpls ldp",
- "Show running system information\n"
- "Debugging functions\n"
- "MPLS information\n"
- "Label Distribution Protocol\n")
+DEFUN_NOSH (ldp_show_debugging_mpls_ldp,
+ ldp_show_debugging_mpls_ldp_cmd,
+ "show debugging [mpls ldp]",
+ "Show running system information\n"
+ "Debugging functions\n"
+ "MPLS information\n"
+ "Label Distribution Protocol\n")
{
return (ldp_vty_show_debugging(vty));
}