mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-15 12:55:21 +00:00
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>
This commit is contained in:
parent
47a928fb85
commit
daa2bc7068
@ -4159,7 +4159,6 @@ cmd_init (int terminal)
|
|||||||
install_element (RESTRICTED_NODE, &config_enable_cmd);
|
install_element (RESTRICTED_NODE, &config_enable_cmd);
|
||||||
install_element (RESTRICTED_NODE, &config_terminal_length_cmd);
|
install_element (RESTRICTED_NODE, &config_terminal_length_cmd);
|
||||||
install_element (RESTRICTED_NODE, &config_terminal_no_length_cmd);
|
install_element (RESTRICTED_NODE, &config_terminal_no_length_cmd);
|
||||||
install_element (RESTRICTED_NODE, &show_commandtree_cmd);
|
|
||||||
install_element (RESTRICTED_NODE, &echo_cmd);
|
install_element (RESTRICTED_NODE, &echo_cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4237,7 +4236,6 @@ cmd_init (int terminal)
|
|||||||
|
|
||||||
vrf_install_commands ();
|
vrf_install_commands ();
|
||||||
}
|
}
|
||||||
install_element (CONFIG_NODE, &show_commandtree_cmd);
|
|
||||||
srandom(time(NULL));
|
srandom(time(NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user