From dd73744d8c8aec7d21abc91e3828f21c813f871f Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Thu, 1 Oct 2020 17:57:23 +0300 Subject: *: move "show debugging ..." commands to enable node Use the same node for "show debugging" commands in all daemons. Signed-off-by: Igor Ryzhov --- vtysh/vtysh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vtysh') diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 9993e7335..53863ca2f 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -4271,9 +4271,9 @@ void vtysh_init_vty(void) #endif /* debugging */ - install_element(VIEW_NODE, &vtysh_show_debugging_cmd); install_element(VIEW_NODE, &vtysh_show_error_code_cmd); - install_element(VIEW_NODE, &vtysh_show_debugging_hashtable_cmd); + install_element(ENABLE_NODE, &vtysh_show_debugging_cmd); + install_element(ENABLE_NODE, &vtysh_show_debugging_hashtable_cmd); install_element(ENABLE_NODE, &vtysh_debug_all_cmd); install_element(CONFIG_NODE, &vtysh_debug_all_cmd); install_element(ENABLE_NODE, &vtysh_debug_memstats_cmd); -- cgit v1.2.3