bgpd: Remove duplicated code in bgp_aggregate_route

Signed-off-by: zyxwvu Shi <i@shiyc.cn>
This commit is contained in:
zyxwvu Shi 2023-12-09 19:26:45 +08:00
parent 4a2ece949e
commit c2d97a2733

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