bgpd: Use single whitespace when displaying show bgp summary

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2024-01-23 20:41:49 +02:00
parent 92a56d2fa2
commit a1baf9e84f

View File

@ -11634,7 +11634,7 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t sa
total_count); total_count);
} else } else
vty_out(vty, vty_out(vty,
"\nDisplayed %ld routes and %ld total paths\n", "\nDisplayed %ld routes and %ld total paths\n",
output_count, total_count); 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); total_cum);
else else
vty_out(vty, vty_out(vty,
"\nDisplayed %ld routes and %ld total paths\n", "\nDisplayed %ld routes and %ld total paths\n",
output_cum, total_cum); output_cum, total_cum);
} else { } else {
if (use_json && output_cum == 0 && json_header_depth == 0) if (use_json && output_cum == 0 && json_header_depth == 0)