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 /pbrd/pbr_zebra.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 'pbrd/pbr_zebra.c')
| -rw-r--r-- | pbrd/pbr_zebra.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index 222a10e751..467bbc8f72 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -266,7 +266,7 @@ static void route_add_helper(struct zapi_route *api, struct nexthop_group nhg,  	api->prefix.family = install_afi; -	DEBUGD(&pbr_dbg_zebra, "\tEncoding %pFX", &api->prefix); +	DEBUGD(&pbr_dbg_zebra, "    Encoding %pFX", &api->prefix);  	i = 0;  	for (ALL_NEXTHOPS(nhg, nhop)) { @@ -409,12 +409,12 @@ static int pbr_zebra_nexthop_update(ZAPI_CALLBACK_ARGS)  		DEBUGD(&pbr_dbg_zebra, "%s: Received Nexthop update: %pFX",  		       __func__, &nhr.prefix); -		DEBUGD(&pbr_dbg_zebra, "%s: (\tNexthops(%u)", __func__, +		DEBUGD(&pbr_dbg_zebra, "%s:   (Nexthops(%u)", __func__,  		       nhr.nexthop_num);  		for (i = 0; i < nhr.nexthop_num; i++) {  			DEBUGD(&pbr_dbg_zebra, -			       "%s: \tType: %d: vrf: %d, ifindex: %d gate: %pI4", +			       "%s:     Type: %d: vrf: %d, ifindex: %d gate: %pI4",  			       __func__, nhr.nexthops[i].type,  			       nhr.nexthops[i].vrf_id, nhr.nexthops[i].ifindex,  			       &nhr.nexthops[i].gate.ipv4); @@ -585,7 +585,7 @@ bool pbr_send_pbr_map(struct pbr_map_sequence *pbrms,  	 */  	stream_putl(s, 1); -	DEBUGD(&pbr_dbg_zebra, "%s: \t%s %s seq %u %d %s %u", __func__, +	DEBUGD(&pbr_dbg_zebra, "%s:    %s %s seq %u %d %s %u", __func__,  	       install ? "Installing" : "Deleting", pbrm->name, pbrms->seqno,  	       install, pmi->ifp->name, pmi->delete);  | 
