diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-11 20:27:13 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-08 03:05:06 +0200 |
commit | 0b1442e37b5278c604f9e5210d00c5a4b201ac61 (patch) | |
tree | c3f63ffa7822e217d6c2d7b86a5cd9b2993b84ad /zebra/zserv.c | |
parent | lib: Consolidate VIEW_NODE to be ENABLE_NODE as well (diff) | |
download | frr-0b1442e37b5278c604f9e5210d00c5a4b201ac61.tar.xz frr-0b1442e37b5278c604f9e5210d00c5a4b201ac61.zip |
*: Consolidate all double VIEW_NODE and ENABLE_NODE's
If a command is put into the VIEW_NODE, it is going into the
ENABLE_NODE as well. This is especially true for show commands.
As such if a command is in both consolidate it down to VIEW_NODE.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r-- | zebra/zserv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index 530410c26..da52f93a2 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -2616,7 +2616,6 @@ zebra_init (void) #endif install_element (VIEW_NODE, &show_ip_forwarding_cmd); - install_element (ENABLE_NODE, &show_ip_forwarding_cmd); install_element (CONFIG_NODE, &ip_forwarding_cmd); install_element (CONFIG_NODE, &no_ip_forwarding_cmd); install_element (ENABLE_NODE, &show_zebra_client_cmd); @@ -2624,14 +2623,12 @@ zebra_init (void) #ifdef HAVE_NETLINK install_element (VIEW_NODE, &show_table_cmd); - install_element (ENABLE_NODE, &show_table_cmd); install_element (CONFIG_NODE, &config_table_cmd); install_element (CONFIG_NODE, &no_config_table_cmd); #endif /* HAVE_NETLINK */ #ifdef HAVE_IPV6 install_element (VIEW_NODE, &show_ipv6_forwarding_cmd); - install_element (ENABLE_NODE, &show_ipv6_forwarding_cmd); install_element (CONFIG_NODE, &ipv6_forwarding_cmd); install_element (CONFIG_NODE, &no_ipv6_forwarding_cmd); #endif /* HAVE_IPV6 */ |