From 9d87a567f9cdd26bb05ee15ee862fc26056a9e6e Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 5 Sep 2019 12:01:54 +0200 Subject: [PATCH] bgpd: remove double spaces with rpki running config & ssh remove double spaces when doing show running-config. Signed-off-by: Philippe Guibert Signed-off-by: Louis Scalbert --- bgpd/bgp_rpki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c index 9e196ccf66..3da87d35e1 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); -- 2.39.5