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 /zebra/redistribute.c | |
| 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 'zebra/redistribute.c')
| -rw-r--r-- | zebra/redistribute.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 370dbaa240..b0f124ed55 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;  	}  | 
