summaryrefslogtreecommitdiff
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-03-24 19:15:04 +0100
committerDavid Lamparter <equinox@diac24.net>2020-03-24 19:43:18 +0100
commit63efca0e95c727318485fe6d37141f79b1401a88 (patch)
treec07189c4864e1358e043cd25d8fdf76752ea899e /ospfd/ospf_packet.c
parentd6951e5ef9d0dc529dd94871f7186ca19b0459c8 (diff)
*: remove line breaks from log messages
Line break at the end of the message is implicit for zlog_* and flog_*, don't put it in the string. Mid-message line breaks are currently unsupported. (LF is "end of message" in syslog.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 0808f245e2..aa50aeacbc 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -611,7 +611,7 @@ static void ospf_write_frags(int fd, struct ospf_packet *op, struct ip *iph,
if (IS_DEBUG_OSPF_PACKET(type - 1, SEND)) {
zlog_debug(
- "ospf_write_frags: sent id %d, off %d, len %d to %s\n",
+ "ospf_write_frags: sent id %d, off %d, len %d to %s",
iph->ip_id, iph->ip_off, iph->ip_len,
inet_ntoa(iph->ip_dst));
}