diff options
| author | David Lamparter <equinox@diac24.net> | 2021-02-14 15:35:07 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-02-14 15:36:51 +0100 | 
| commit | 1d5453d6070f5266f0bdf709690282a0dc5dc83d (patch) | |
| tree | 7eb4346adce641e92cc79a0be696908e924466e1 /babeld | |
| parent | 44b0793e88503b4b70a569c0579f7a79b587f627 (diff) | |
*: remove tabs & newlines from log messages
Neither tabs nor newlines are acceptable in syslog messages.  They also
break line-based parsing of file logs.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'babeld')
| -rw-r--r-- | babeld/babel_interface.c | 2 | ||||
| -rw-r--r-- | babeld/message.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c index d37e0b608f..85d79bdc3b 100644 --- a/babeld/babel_interface.c +++ b/babeld/babel_interface.c @@ -693,7 +693,7 @@ interface_recalculate(struct interface *ifp)      rc = resize_receive_buffer(mtu);      if(rc < 0) -        zlog_warn("couldn't resize receive buffer for interface %s (%d) (%d bytes).\n", +        zlog_warn("couldn't resize receive buffer for interface %s (%d) (%d bytes).",                    ifp->name, ifp->ifindex, mtu);      memset(&mreq, 0, sizeof(mreq)); diff --git a/babeld/message.c b/babeld/message.c index c9a10cb1c0..edb9806011 100644 --- a/babeld/message.c +++ b/babeld/message.c @@ -643,7 +643,7 @@ parse_packet(const unsigned char *from, struct interface *ifp,              return;          rtt = MAX(0, local_waiting_us - remote_waiting_us); -        debugf(BABEL_DEBUG_COMMON, "RTT to %s on %s sample result: %d us.\n", +        debugf(BABEL_DEBUG_COMMON, "RTT to %s on %s sample result: %d us.",                 format_address(from), ifp->name, rtt);          old_rttcost = neighbour_rttcost(neigh);  | 
