summaryrefslogtreecommitdiffstats
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-14 15:35:07 +0100
committerDavid Lamparter <equinox@diac24.net>2021-02-14 15:36:51 +0100
commit1d5453d6070f5266f0bdf709690282a0dc5dc83d (patch)
tree7eb4346adce641e92cc79a0be696908e924466e1 /zebra/redistribute.c
parentMerge pull request #8036 from qlyoung/disable-mallinfo (diff)
downloadfrr-1d5453d6070f5266f0bdf709690282a0dc5dc83d.tar.xz
frr-1d5453d6070f5266f0bdf709690282a0dc5dc83d.zip
*: 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 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 370dbaa24..b0f124ed5 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -206,7 +206,7 @@ void redistribute_update(const struct prefix *p, const struct prefix *src_p,
afi = family2afi(p->family);
if (!afi) {
flog_warn(EC_ZEBRA_REDISTRIBUTE_UNKNOWN_AF,
- "%s: Unknown AFI/SAFI prefix received\n", __func__);
+ "%s: Unknown AFI/SAFI prefix received", __func__);
return;
}
if (!zebra_check_addr(p)) {
@@ -276,7 +276,7 @@ void redistribute_delete(const struct prefix *p, const struct prefix *src_p,
afi = family2afi(p->family);
if (!afi) {
flog_warn(EC_ZEBRA_REDISTRIBUTE_UNKNOWN_AF,
- "%s: Unknown AFI/SAFI prefix received\n",
+ "%s: Unknown AFI/SAFI prefix received",
__func__);
return;
}