From: Donald Sharp Date: Wed, 19 May 2021 18:51:23 +0000 (-0400) Subject: ospfd: New code adds newline to log files X-Git-Tag: base_8.1~517^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=55370b95648c7b85c37e55bef2a618e127c5075b;p=matthieu%2Ffrr.git ospfd: New code adds newline to log files FRR is not using newlines in log messages. Remove them. Signed-off-by: Donald Sharp --- 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) {