From 88c712007021d2c6102d3d5e85e38a2b35ff3435 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Sat, 21 Nov 2020 15:06:04 +0300 Subject: [PATCH] vtysh: fix node for "show yang operational-data" Signed-off-by: Igor Ryzhov --- vtysh/vtysh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index d12c3e768e..4caba03913 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);