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 /nhrpd/nhrp_vty.c | |
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 'nhrpd/nhrp_vty.c')
-rw-r--r-- | nhrpd/nhrp_vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nhrpd/nhrp_vty.c b/nhrpd/nhrp_vty.c index fe681b405..27b7bece4 100644 --- a/nhrpd/nhrp_vty.c +++ b/nhrpd/nhrp_vty.c @@ -1109,11 +1109,12 @@ void nhrp_config_init(void) access_list_init(); /* global commands */ - install_element(VIEW_NODE, &show_debugging_nhrp_cmd); install_element(VIEW_NODE, &show_ip_nhrp_cmd); install_element(VIEW_NODE, &show_dmvpn_cmd); install_element(ENABLE_NODE, &clear_nhrp_cmd); + install_element(ENABLE_NODE, &show_debugging_nhrp_cmd); + install_element(ENABLE_NODE, &debug_nhrp_cmd); install_element(ENABLE_NODE, &no_debug_nhrp_cmd); |