From 9c78057ef9648fdfb66f7174cc7e88a1afaca3bc Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 26 Nov 2024 14:19:34 +0100 Subject: [PATCH] bgpd: fix use single whitespace when displaying flowspec entries There is an extra space in the 'Displayed' line of show bgp command, that should not be present. Fix this by being consistent with the output of the other address families. Fixes: ("a1baf9e84f71") bgpd: Use single whitespace when displaying show bgp summary Signed-off-by: Philippe Guibert (cherry picked from commit 561debab5430ac85e8e42e839312d213479a767a) --- bgpd/bgp_flowspec_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_flowspec_vty.c b/bgpd/bgp_flowspec_vty.c index d4ccca84bb20..3d2dda4ee4d0 100644 --- a/bgpd/bgp_flowspec_vty.c +++ b/bgpd/bgp_flowspec_vty.c @@ -441,7 +441,7 @@ int bgp_show_table_flowspec(struct vty *vty, struct bgp *bgp, afi_t afi, } if (total_count && !use_json) vty_out(vty, - "\nDisplayed %ld flowspec entries\n", + "\nDisplayed %ld flowspec entries\n", total_count); return CMD_SUCCESS; }