ospfd: New code adds newline to log files

FRR is not using newlines in log messages.  Remove them.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2021-05-19 14:51:23 -04:00
parent d516382e12
commit 55370b9564
2 changed files with 3 additions and 3 deletions

View File

@ -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; \
} \

View File

@ -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)
{