summaryrefslogtreecommitdiffstats
path: root/vrrpd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2020-10-01 16:49:47 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2020-10-02 14:06:05 +0200
commiteed041e87c80327f3ec339977103929f729c7382 (patch)
tree41eadeb6d5ce321f0a45ffa2b613d1da944816f4 /vrrpd
parentMerge pull request #7232 from idryzhov/more-topotests-vrf-id (diff)
downloadfrr-eed041e87c80327f3ec339977103929f729c7382.tar.xz
frr-eed041e87c80327f3ec339977103929f729c7382.zip
*: move "debug ..." commands to enable node
Use the same node for "debug" commands in all daemons. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'vrrpd')
-rw-r--r--vrrpd/vrrp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c
index 3165ea119..8dd97a173 100644
--- a/vrrpd/vrrp_vty.c
+++ b/vrrpd/vrrp_vty.c
@@ -776,7 +776,7 @@ void vrrp_vty_init(void)
install_element(VIEW_NODE, &vrrp_vrid_show_cmd);
install_element(VIEW_NODE, &vrrp_vrid_show_summary_cmd);
install_element(VIEW_NODE, &show_debugging_vrrp_cmd);
- install_element(VIEW_NODE, &debug_vrrp_cmd);
+ install_element(ENABLE_NODE, &debug_vrrp_cmd);
install_element(CONFIG_NODE, &debug_vrrp_cmd);
install_element(CONFIG_NODE, &vrrp_autoconfigure_cmd);
install_element(CONFIG_NODE, &vrrp_default_cmd);