mirror of
https://github.com/norohind/hans.git
synced 2025-04-18 15:27:36 +03:00
minor debug output fix
This commit is contained in:
parent
ea47a484fe
commit
dadd460972
@ -151,7 +151,7 @@ bool Client::handleEchoData(const TunnelHeader &header, int dataLength, uint32_t
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
syslog(LOG_DEBUG, "invalid packet type: %d, state:\n", header.type, state);
|
syslog(LOG_DEBUG, "invalid packet type: %d, state: %d", header.type, state);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,7 @@ bool Server::handleEchoData(const TunnelHeader &header, int dataLength, uint32_t
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
syslog(LOG_DEBUG, "invalid packet from: %s, type: %d, state:\n", Utility::formatIp(realIp).c_str(), header.type, client->state);
|
syslog(LOG_DEBUG, "invalid packet from: %s, type: %d, state: %d", Utility::formatIp(realIp).c_str(), header.type, client->state);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user