From 1af6e82b8100b7f934df3443b51fc477e380d41c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 26 Jul 2022 10:06:38 -0400 Subject: bgpd: Remove newlines from zlog, they are not allowed commit: a486300b2679ff80a13d800ed76e1236edfcaa2b introduced newlines in zlog_XX messaging. Not allowed. Signed-off-by: Donald Sharp --- bgpd/bgp_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index b0d5ccf1ef..bb0be50048 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -957,7 +957,7 @@ static void bgp_clear_vty_error(struct vty *vty, struct peer *peer, afi_t afi, get_afi_safi_str(afi, safi, false), peer->host); else zlog_warn( - "%% BGP: Enable %s address family for the neighbor %s\n", + "%% BGP: Enable %s address family for the neighbor %s", get_afi_safi_str(afi, safi, false), peer->host); break; case BGP_ERR_SOFT_RECONFIG_UNCONFIGURED: @@ -967,7 +967,7 @@ static void bgp_clear_vty_error(struct vty *vty, struct peer *peer, afi_t afi, peer->host); else zlog_warn( - "%% BGP: Inbound soft reconfig for %s not possible as it\n has neither refresh capability, nor inbound soft reconfig\n", + "%% BGP: Inbound soft reconfig for %s not possible as it has neither refresh capability, nor inbound soft reconfig", peer->host); break; default: -- cgit v1.2.3