summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorzyxwvu Shi <i@shiyc.cn>2023-12-09 12:26:45 +0100
committerzyxwvu Shi <i@shiyc.cn>2023-12-09 12:26:45 +0100
commitc2d97a2733142e7d324effe120000cce293a2691 (patch)
treec276a01a4e61277febe1ba68332d661461c1ddaf /bgpd/bgp_route.c
parentMerge pull request #14964 from pguibert6WIND/nhg_del_in_queue (diff)
downloadfrr-c2d97a2733142e7d324effe120000cce293a2691.tar.xz
frr-c2d97a2733142e7d324effe120000cce293a2691.zip
bgpd: Remove duplicated code in `bgp_aggregate_route`
Signed-off-by: zyxwvu Shi <i@shiyc.cn>
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 9283055d9..125a39d80 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -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