]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: remove \n in zapi pbr family log msg 5837/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 19 Feb 2020 16:24:43 +0000 (11:24 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 19 Feb 2020 16:24:43 +0000 (11:24 -0500)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
zebra/zapi_msg.c

index 42b4791d48afc3b74281b8bd568c45ee23c43912..48f9e90315ece92874ff43783c7127ded123906d 100644 (file)
@@ -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;