From: Philippe Guibert Date: Tue, 26 Nov 2024 13:19:34 +0000 (+0100) Subject: bgpd: fix use single whitespace when displaying flowspec entries X-Git-Tag: docker/10.0.3~10^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9c78057ef9648fdfb66f7174cc7e88a1afaca3bc;p=matthieu%2Ffrr.git 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) --- diff --git a/bgpd/bgp_flowspec_vty.c b/bgpd/bgp_flowspec_vty.c index d4ccca84bb..3d2dda4ee4 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; }