]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: fix use single whitespace when displaying flowspec entries
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 26 Nov 2024 13:19:34 +0000 (14:19 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 26 Nov 2024 18:12:40 +0000 (18:12 +0000)
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>
(cherry picked from commit 561debab5430ac85e8e42e839312d213479a767a)

bgpd/bgp_flowspec_vty.c

index d4ccca84bb206b609759a77ffd0f6b22a6ca486b..3d2dda4ee4d0b0f94a6c23ffbf83ebbc239ede92 100644 (file)
@@ -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;
 }