diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2020-10-01 16:57:23 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-10-02 14:06:05 +0200 |
commit | dd73744d8c8aec7d21abc91e3828f21c813f871f (patch) | |
tree | 6cfa548178c690a3fc1758fd427de170687402a2 /vtysh | |
parent | *: move "debug ..." commands to enable node (diff) | |
download | frr-dd73744d8c8aec7d21abc91e3828f21c813f871f.tar.xz frr-dd73744d8c8aec7d21abc91e3828f21c813f871f.zip |
*: move "show debugging ..." commands to enable node
Use the same node for "show debugging" commands in all daemons.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'vtysh')
-rw-r--r-- | vtysh/vtysh.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |