summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-07-26 10:06:38 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-07-26 10:06:38 -0400
commit1af6e82b8100b7f934df3443b51fc477e380d41c (patch)
tree7de2899b343c4e15123b5027608691b2f3d71e06
parent2ade1c00591d0fa6f7d0816233bd25a40c57256f (diff)
bgpd: Remove newlines from zlog, they are not allowed
commit: a486300b2679ff80a13d800ed76e1236edfcaa2b introduced newlines in zlog_XX messaging. Not allowed. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--bgpd/bgp_vty.c4
1 files 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: