Merge pull request #14975 from imzyxwvu/tidy-aggregate-duplication

bgpd: Remove duplicated code in `bgp_aggregate_route`
This commit is contained in:
Donatas Abraitis 2023-12-09 20:03:00 +02:00 committed by GitHub
commit 00b23f22c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7595,7 +7595,6 @@ bool bgp_aggregate_route(struct bgp *bgp, const struct prefix *p, afi_t afi,
*/
aggregate->count = 0;
aggregate->incomplete_origin_count = 0;
aggregate->incomplete_origin_count = 0;
aggregate->egp_origin_count = 0;
/* ORIGIN attribute: If at least one route among routes that are