mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
fix: KcpServerConnection "invalid channel header" now logs address
This commit is contained in:
parent
8f5bf7b775
commit
d336893a63
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user