From: Quentin Young Date: Wed, 19 Feb 2020 16:24:43 +0000 (-0500) Subject: zebra: remove \n in zapi pbr family log msg X-Git-Tag: base_7.4~336^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F5837%2Fhead;p=mirror%2Ffrr.git zebra: remove \n in zapi pbr family log msg Signed-off-by: Quentin Young --- 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;