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 <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2024-11-26 14:19:34 +01:00
parent 0bacbc6493
commit 561debab54

View file

@ -441,7 +441,7 @@ int bgp_show_table_flowspec(struct vty *vty, struct bgp *bgp, afi_t afi,
} }
if (total_count && !use_json) if (total_count && !use_json)
vty_out(vty, vty_out(vty,
"\nDisplayed %ld flowspec entries\n", "\nDisplayed %ld flowspec entries\n",
total_count); total_count);
return CMD_SUCCESS; return CMD_SUCCESS;
} }