If the proxy is on, we need to ignore the extra 6 bytes in the packet.

0.6.1-post-fixes
Mike Mazur 2008-11-11 03:41:28 +00:00
parent 89570e1637
commit 32b9975468
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
RecvBuffer[z] = 0; RecvBuffer[z] = 0;
int packetEnd = numBytes - 1; int packetEnd = numBytes - 1;
if (proxyPortOffset != 0) packetEnd -= 6;
try try
{ {