aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorMike Mazur2008-11-11 03:41:28 +0000
committerMike Mazur2008-11-11 03:41:28 +0000
commit32b9975468f07d900bfa14393d71663f90896387 (patch)
treec428e1c98ac35fbc5c6bf3c74f89d9ba4de2de66 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parentAdd ClampPrimSize option to ensure no prim can exceed the set size. This (diff)
downloadopensim-SC-32b9975468f07d900bfa14393d71663f90896387.zip
opensim-SC-32b9975468f07d900bfa14393d71663f90896387.tar.gz
opensim-SC-32b9975468f07d900bfa14393d71663f90896387.tar.bz2
opensim-SC-32b9975468f07d900bfa14393d71663f90896387.tar.xz
If the proxy is on, we need to ignore the extra 6 bytes in the packet.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-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 {