Skip to content

Commit

Permalink
fix: KcpServerConnection "invalid channel header" now logs address
Browse files Browse the repository at this point in the history
  • Loading branch information
mischa authored and miwarnec committed Oct 12, 2024
1 parent 8f5bf7b commit d336893
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d336893

Please sign in to comment.