Log invalid request type

This commit is contained in:
Friedrich Schöller committed 2017-05-14 00:07:21 +02:00
1 parent 295f6b4051
commit c9b07d96bc
1 file changed
+2 -1
+2 -1
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;
}