From 32b9975468f07d900bfa14393d71663f90896387 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Tue, 11 Nov 2008 03:41:28 +0000 Subject: If the proxy is on, we need to ignore the extra 6 bytes in the packet. --- OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 629f513..9470f1f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs @@ -199,6 +199,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP RecvBuffer[z] = 0; int packetEnd = numBytes - 1; + if (proxyPortOffset != 0) packetEnd -= 6; try { -- cgit v1.1