From 55370b95648c7b85c37e55bef2a618e127c5075b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 19 May 2021 14:51:23 -0400 Subject: [PATCH] ospfd: New code adds newline to log files FRR is not using newlines in log messages. Remove them. Signed-off-by: Donald Sharp --- ospfd/ospf_ri.c | 2 +- ospfd/ospf_te.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index 4b77943108..602f98d141 100644 --- a/ospfd/ospf_ri.c +++ b/ospfd/ospf_ri.c @@ -1231,7 +1231,7 @@ static int ospf_router_info_lsa_update(struct ospf_lsa *lsa) vty_out(vty, " Wrong %s TLV size: %d(%d)\n", \ msg, ntohs(tlvh->length), size); \ else \ - zlog_debug(" Wrong %s TLV size: %d(%d)\n", \ + zlog_debug(" Wrong %s TLV size: %d(%d)", \ msg, ntohs(tlvh->length), size); \ return size + TLV_HDR_SIZE; \ } \ diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 0946e51077..333fa6a3a1 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -3161,11 +3161,11 @@ static void ospf_te_init_ted(struct ls_ted *ted, struct ospf *ospf) vty_out(vty, " Wrong %s TLV size: %d(%d)\n", \ msg, ntohs(tlvh->length), size); \ else \ - zlog_debug(" Wrong %s TLV size: %d(%d)\n", \ + zlog_debug(" Wrong %s TLV size: %d(%d)", \ msg, ntohs(tlvh->length), size); \ return size + TLV_HDR_SIZE; \ } \ - } while(0) + } while (0) static uint16_t show_vty_router_addr(struct vty *vty, struct tlv_header *tlvh) { -- 2.39.5