aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMike Mazur2008-11-11 03:41:28 +0000
committerMike Mazur2008-11-11 03:41:28 +0000
commit32b9975468f07d900bfa14393d71663f90896387 (patch)
treec428e1c98ac35fbc5c6bf3c74f89d9ba4de2de66
parentAdd ClampPrimSize option to ensure no prim can exceed the set size. This (diff)
downloadopensim-SC_OLD-32b9975468f07d900bfa14393d71663f90896387.zip
opensim-SC_OLD-32b9975468f07d900bfa14393d71663f90896387.tar.gz
opensim-SC_OLD-32b9975468f07d900bfa14393d71663f90896387.tar.bz2
opensim-SC_OLD-32b9975468f07d900bfa14393d71663f90896387.tar.xz
If the proxy is on, we need to ignore the extra 6 bytes in the packet.
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs1
1 files changed, 1 insertions, 0 deletions
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
199 RecvBuffer[z] = 0; 199 RecvBuffer[z] = 0;
200 200
201 int packetEnd = numBytes - 1; 201 int packetEnd = numBytes - 1;
202 if (proxyPortOffset != 0) packetEnd -= 6;
202 203
203 try 204 try
204 { 205 {