diff options
author | Mike Mazur | 2008-11-11 03:41:28 +0000 |
---|---|---|
committer | Mike Mazur | 2008-11-11 03:41:28 +0000 |
commit | 32b9975468f07d900bfa14393d71663f90896387 (patch) | |
tree | c428e1c98ac35fbc5c6bf3c74f89d9ba4de2de66 /OpenSim | |
parent | Add ClampPrimSize option to ensure no prim can exceed the set size. This (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 1 |
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 | { |