Skip to content

Commit

Permalink
Merge pull request #14975 from imzyxwvu/tidy-aggregate-duplication
Browse files Browse the repository at this point in the history
bgpd: Remove duplicated code in `bgp_aggregate_route`
  • Loading branch information
ton31337 authored Dec 9, 2023
2 parents 4a2ece9 + c2d97a2 commit 00b23f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00b23f2

Please sign in to comment.