mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +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.
|
// invalid channel indicates random internet noise.
|
||||||
// servers may receive random UDP data.
|
// servers may receive random UDP data.
|
||||||
// just ignore it, but log for easier debugging.
|
// 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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user