Log invalid request type

This commit is contained in:
Friedrich Schöller 2017-05-13 03:01:34 +02:00
parent 295f6b4051
commit c9b07d96bc

View File

@ -60,7 +60,8 @@ void Server::handleUnknownClient(const TunnelHeader &header, int dataLength, uin
if (header.type != TunnelHeader::TYPE_CONNECTION_REQUEST || dataLength != sizeof(ClientConnectData))
{
syslog(LOG_DEBUG, "invalid request %s", Utility::formatIp(realIp).c_str());
syslog(LOG_DEBUG, "invalid request (type %d) from %s", header.type,
Utility::formatIp(realIp).c_str());
sendReset(&client);
return;
}