summaryrefslogtreecommitdiff
path: root/bgpd/bgp_encap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_encap.c')
-rw-r--r--bgpd/bgp_encap.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/bgpd/bgp_encap.c b/bgpd/bgp_encap.c
index 3fe8988b9c..1bc8a67ffc 100644
--- a/bgpd/bgp_encap.c
+++ b/bgpd/bgp_encap.c
@@ -324,23 +324,7 @@ show_adj_route_encap (struct vty *vty, struct peer *peer, struct prefix_rd *prd)
return CMD_SUCCESS;
}
-enum bgp_show_type
-{
- bgp_show_type_normal,
- bgp_show_type_regexp,
- bgp_show_type_prefix_list,
- bgp_show_type_filter_list,
- bgp_show_type_neighbor,
- bgp_show_type_cidr_only,
- bgp_show_type_prefix_longer,
- bgp_show_type_community_all,
- bgp_show_type_community,
- bgp_show_type_community_exact,
- bgp_show_type_community_list,
- bgp_show_type_community_list_exact
-};
-
-static int
+int
bgp_show_encap (
struct vty *vty,
afi_t afi,