summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2020-11-21 13:06:04 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2020-11-21 13:15:45 +0100
commit88c712007021d2c6102d3d5e85e38a2b35ff3435 (patch)
tree4d9ee80a521c597294a904444ba72bdb897b1f85 /vtysh
parentvtysh: fix execution of commands from the view node (diff)
downloadfrr-88c712007021d2c6102d3d5e85e38a2b35ff3435.tar.xz
frr-88c712007021d2c6102d3d5e85e38a2b35ff3435.zip
vtysh: fix node for "show yang operational-data"
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index d12c3e768..4caba0391 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -4262,7 +4262,7 @@ void vtysh_init_vty(void)
install_element(CONFIG_NODE, &vtysh_debug_memstats_cmd);
/* northbound */
- install_element(VIEW_NODE, &show_yang_operational_data_cmd);
+ install_element(ENABLE_NODE, &show_yang_operational_data_cmd);
install_element(ENABLE_NODE, &debug_nb_cmd);
install_element(CONFIG_NODE, &debug_nb_cmd);