Merge pull request #11443 from opensourcerouting/fix/duplicate_label

bgpd: Drop duplicate label assignment
This commit is contained in:
mobash-rasool 2022-06-22 07:11:26 +05:30 committed by GitHub
commit f21ba4fbae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {