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

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

index 2a2c71b1fd551a118aec72b593c0c059d3229ce9..2ffc393d4071a3671508a8df4ffcfb3f27529bf6 100644 (file)
@@ -2794,8 +2794,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);