From a1baf9e84f714a1c23b82baa1353cf05b831b994 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 23 Jan 2024 20:41:49 +0200 Subject: [PATCH] bgpd: Use single whitespace when displaying show bgp summary Signed-off-by: Donatas Abraitis --- bgpd/bgp_route.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index e1387b0321..ae3a88ddcc 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -11634,7 +11634,7 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t sa total_count); } else vty_out(vty, - "\nDisplayed %ld routes and %ld total paths\n", + "\nDisplayed %ld routes and %ld total paths\n", output_count, total_count); } } @@ -11685,7 +11685,7 @@ int bgp_show_table_rd(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi, total_cum); else vty_out(vty, - "\nDisplayed %ld routes and %ld total paths\n", + "\nDisplayed %ld routes and %ld total paths\n", output_cum, total_cum); } else { if (use_json && output_cum == 0 && json_header_depth == 0) -- 2.39.5