bgpd: Drop duplicate label assignment

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2022-06-21 11:57:33 +03:00
parent 2af482767c
commit fdfd1a6f40

View File

@ -1037,8 +1037,6 @@ struct attr *bgp_attr_aggregate_intern(
else
attr.aggregator_as = bgp->as;
attr.aggregator_addr = bgp->router_id;
attr.label_index = BGP_INVALID_LABEL_INDEX;
attr.label = MPLS_INVALID_LABEL;
/* Apply route-map */
if (aggregate->rmap.name) {