summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_route.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 73331f8eee..e0484271bb 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -5628,12 +5628,6 @@ void bgp_aggregate_increment(struct bgp *bgp, struct prefix *p,
struct bgp_aggregate *aggregate;
struct bgp_table *table;
- /* MPLS-VPN aggregation is not yet supported. */
- if ((safi == SAFI_MPLS_VPN) || (safi == SAFI_ENCAP)
- || (safi == SAFI_EVPN)
- || (safi == SAFI_FLOWSPEC))
- return;
-
table = bgp->aggregate[afi][safi];
/* No aggregates configured. */
@@ -5667,12 +5661,6 @@ void bgp_aggregate_decrement(struct bgp *bgp, struct prefix *p,
struct bgp_aggregate *aggregate;
struct bgp_table *table;
- /* MPLS-VPN aggregation is not yet supported. */
- if ((safi == SAFI_MPLS_VPN) || (safi == SAFI_ENCAP)
- || (safi == SAFI_EVPN)
- || (safi == SAFI_FLOWSPEC))
- return;
-
table = bgp->aggregate[afi][safi];
/* No aggregates configured. */