summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_encap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-03-11 20:27:13 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-08 03:05:06 +0200
commit0b1442e37b5278c604f9e5210d00c5a4b201ac61 (patch)
treec3f63ffa7822e217d6c2d7b86a5cd9b2993b84ad /bgpd/bgp_encap.c
parentlib: Consolidate VIEW_NODE to be ENABLE_NODE as well (diff)
downloadfrr-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 'bgpd/bgp_encap.c')
-rw-r--r--bgpd/bgp_encap.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/bgpd/bgp_encap.c b/bgpd/bgp_encap.c
index 136bab13b..ac99169e7 100644
--- a/bgpd/bgp_encap.c
+++ b/bgpd/bgp_encap.c
@@ -932,27 +932,4 @@ bgp_encap_init (void)
install_element (VIEW_NODE, &show_bgp_ipv6_encap_neighbor_advertised_routes_cmd);
install_element (VIEW_NODE, &show_bgp_ipv6_encap_rd_neighbor_advertised_routes_cmd);
#endif
-
-
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_rd_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_tags_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_rd_tags_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_rd_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_neighbor_advertised_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv4_encap_rd_neighbor_advertised_routes_cmd);
-
-#ifdef HAVE_IPV6
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_rd_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_tags_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_rd_tags_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_rd_neighbor_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_neighbor_advertised_routes_cmd);
- install_element (ENABLE_NODE, &show_bgp_ipv6_encap_rd_neighbor_advertised_routes_cmd);
-#endif
-
-
}