summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-28 16:57:52 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-28 16:57:52 +0200
commiteb68fbc61351ae288995128afd625739ee34bbc6 (patch)
tree4b6a6b705495a97d0a12c73ebba0bde29cf50d31 /vtysh
parentMerge pull request #1854 from qlyoung/integer-standards-compliance (diff)
downloadfrr-eb68fbc61351ae288995128afd625739ee34bbc6.tar.xz
frr-eb68fbc61351ae288995128afd625739ee34bbc6.zip
vtysh: fix node install of `[no] debug all`
Command belongs in ENABLE_NODE, not VIEW_NODE. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 96a5ea9e3..03bc111c6 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -3379,7 +3379,7 @@ void vtysh_init_vty(void)
/* debugging */
install_element(VIEW_NODE, &vtysh_show_debugging_cmd);
install_element(VIEW_NODE, &vtysh_show_debugging_hashtable_cmd);
- install_element(VIEW_NODE, &vtysh_debug_all_cmd);
+ install_element(ENABLE_NODE, &vtysh_debug_all_cmd);
install_element(CONFIG_NODE, &vtysh_debug_all_cmd);
/* misc lib show commands */