summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_rpki.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-09-05 12:01:54 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2024-01-11 14:13:46 +0100
commit9d87a567f9cdd26bb05ee15ee862fc26056a9e6e (patch)
tree6e04e562f11365aa080794868f6e2e2127224a7d /bgpd/bgp_rpki.c
parentbgpd: fix resetting rpki timer at no rpki (diff)
downloadfrr-9d87a567f9cdd26bb05ee15ee862fc26056a9e6e.tar.xz
frr-9d87a567f9cdd26bb05ee15ee862fc26056a9e6e.zip
bgpd: remove double spaces with rpki running config & ssh
remove double spaces when doing show running-config. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'bgpd/bgp_rpki.c')
-rw-r--r--bgpd/bgp_rpki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c
index 9e196ccf6..3da87d35e 100644
--- a/bgpd/bgp_rpki.c
+++ b/bgpd/bgp_rpki.c
@@ -1088,7 +1088,7 @@ static int config_write(struct vty *vty)
ssh_config->client_privkey_path,
ssh_config->server_hostkey_path != NULL
? ssh_config->server_hostkey_path
- : " ");
+ : "");
if (ssh_config->bindaddr)
vty_out(vty, "source %s ",
ssh_config->bindaddr);