]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: fix node for clear commands 7220/head
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 1 Oct 2020 14:11:35 +0000 (17:11 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 1 Oct 2020 14:11:35 +0000 (17:11 +0300)
These are only clear commands in FRR available from view node.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isisd.c

index 7bba783b39ce5b56dbbe5529767c61e92afdfbed..8d73c0571dc3c76ed319bbfdbc40818e31634ea4 100644 (file)
@@ -2824,8 +2824,8 @@ void isis_init(void)
        install_element(VIEW_NODE, &show_isis_neighbor_cmd);
        install_element(VIEW_NODE, &show_isis_neighbor_detail_cmd);
        install_element(VIEW_NODE, &show_isis_neighbor_arg_cmd);
-       install_element(VIEW_NODE, &clear_isis_neighbor_cmd);
-       install_element(VIEW_NODE, &clear_isis_neighbor_arg_cmd);
+       install_element(ENABLE_NODE, &clear_isis_neighbor_cmd);
+       install_element(ENABLE_NODE, &clear_isis_neighbor_arg_cmd);
 
        install_element(VIEW_NODE, &show_hostname_cmd);
        install_element(VIEW_NODE, &show_database_cmd);