]> git.puffer.fish Git - matthieu/frr.git/commitdiff
vtysh: fix node for "show yang operational-data"
authorIgor Ryzhov <iryzhov@nfware.com>
Sat, 21 Nov 2020 12:06:04 +0000 (15:06 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Sat, 21 Nov 2020 12:15:45 +0000 (15:15 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
vtysh/vtysh.c

index d12c3e768e3cde027e6fc4543aeeda0135684f85..4caba03913b44a2bce6f7eea4af923e4b772a758 100644 (file)
@@ -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);