fix: KcpServerConnection "invalid channel header" now logs address

This commit is contained in:
mischa 2024-10-12 16:43:58 +02:00 committed by mischa
parent 8f5bf7b775
commit d336893a63

View File

@ -117,7 +117,7 @@ public void RawInput(ArraySegment<byte> segment)
// invalid channel indicates random internet noise.
// servers may receive random UDP data.
// just ignore it, but log for easier debugging.
Log.Warning($"[KCP] ServerConnection: invalid channel header: {channel}, likely internet noise");
Log.Warning($"[KCP] ServerConnection: invalid channel header: {channel} from {remoteEndPoint}, likely internet noise");
break;
}
}