]> git.puffer.fish Git - mirror/frr.git/commitdiff
vtysh: fix node install of `[no] debug all` 1978/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 28 Mar 2018 14:57:52 +0000 (10:57 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 28 Mar 2018 14:57:52 +0000 (10:57 -0400)
Command belongs in ENABLE_NODE, not VIEW_NODE.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vtysh/vtysh.c

index 96a5ea9e36652bf645be283076e8ed20ad982c2f..03bc111c6717b41981fb3130176e80ea38029a58 100644 (file)
@@ -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 */