diff options
author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-28 20:02:52 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-28 20:02:52 +0200 |
commit | daa2bc7068397dc74db06dac6b3730fa5ee1ef7b (patch) | |
tree | 66de139257afeb47dc8039cf2e2e2ab972d189f7 /lib | |
parent | isisd: drop unused per-type metric values (diff) | |
download | frr-daa2bc7068397dc74db06dac6b3730fa5ee1ef7b.tar.xz frr-daa2bc7068397dc74db06dac6b3730fa5ee1ef7b.zip |
lib: 'show commandtree' is not a CLI command
The 'show commandtree' command was added to the CONFIG_NODE.
We have a basic assumption that CONFIG_NODE commands actually
change state. 'show commandtree' doesn't meet this requirement.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/command.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 4896c8a95..2e80eea9e 100644 --- a/lib/command.c +++ b/lib/command.c @@ -4159,7 +4159,6 @@ cmd_init (int terminal) install_element (RESTRICTED_NODE, &config_enable_cmd); install_element (RESTRICTED_NODE, &config_terminal_length_cmd); install_element (RESTRICTED_NODE, &config_terminal_no_length_cmd); - install_element (RESTRICTED_NODE, &show_commandtree_cmd); install_element (RESTRICTED_NODE, &echo_cmd); } @@ -4237,7 +4236,6 @@ cmd_init (int terminal) vrf_install_commands (); } - install_element (CONFIG_NODE, &show_commandtree_cmd); srandom(time(NULL)); } |