From b7b05b462dcadd554beb3453e76062a3ea515686 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 19 Feb 2020 11:24:43 -0500 Subject: [PATCH] zebra: remove \n in zapi pbr family log msg Signed-off-by: Quentin Young --- zebra/zapi_msg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 42b4791d48..48f9e90315 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -2410,15 +2410,14 @@ static inline void zread_rule(ZAPI_HANDLER_ARGS) || zpr.rule.filter.src_ip.family == AF_INET6)) { zlog_warn( "Unsupported PBR source IP family: %s (%" PRIu8 - ")\n", + ")", family2str(zpr.rule.filter.src_ip.family), zpr.rule.filter.src_ip.family); return; } if (!(zpr.rule.filter.dst_ip.family == AF_INET || zpr.rule.filter.dst_ip.family == AF_INET6)) { - zlog_warn("Unsupported PBR IP family: %s (%" PRIu8 - ")\n", + zlog_warn("Unsupported PBR IP family: %s (%" PRIu8 ")", family2str(zpr.rule.filter.dst_ip.family), zpr.rule.filter.dst_ip.family); return;