summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_route.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 566c5911e0..b7f423d257 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -12106,9 +12106,6 @@ static void bgp_table_stats_rn(struct bgp_dest *dest, struct bgp_dest *top,
struct bgp_path_info *pi;
const struct prefix *rn_p;
- if (dest == top)
- return;
-
if (!bgp_dest_has_bgp_path_info_data(dest))
return;