mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 06:53:03 +00:00
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:
parent
d516382e12
commit
55370b9564
@ -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", \
|
vty_out(vty, " Wrong %s TLV size: %d(%d)\n", \
|
||||||
msg, ntohs(tlvh->length), size); \
|
msg, ntohs(tlvh->length), size); \
|
||||||
else \
|
else \
|
||||||
zlog_debug(" Wrong %s TLV size: %d(%d)\n", \
|
zlog_debug(" Wrong %s TLV size: %d(%d)", \
|
||||||
msg, ntohs(tlvh->length), size); \
|
msg, ntohs(tlvh->length), size); \
|
||||||
return size + TLV_HDR_SIZE; \
|
return size + TLV_HDR_SIZE; \
|
||||||
} \
|
} \
|
||||||
|
@ -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", \
|
vty_out(vty, " Wrong %s TLV size: %d(%d)\n", \
|
||||||
msg, ntohs(tlvh->length), size); \
|
msg, ntohs(tlvh->length), size); \
|
||||||
else \
|
else \
|
||||||
zlog_debug(" Wrong %s TLV size: %d(%d)\n", \
|
zlog_debug(" Wrong %s TLV size: %d(%d)", \
|
||||||
msg, ntohs(tlvh->length), size); \
|
msg, ntohs(tlvh->length), size); \
|
||||||
return size + TLV_HDR_SIZE; \
|
return size + TLV_HDR_SIZE; \
|
||||||
} \
|
} \
|
||||||
} while(0)
|
} while (0)
|
||||||
|
|
||||||
static uint16_t show_vty_router_addr(struct vty *vty, struct tlv_header *tlvh)
|
static uint16_t show_vty_router_addr(struct vty *vty, struct tlv_header *tlvh)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user