summaryrefslogtreecommitdiff
path: root/indra/llmessage/llpacketring.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-07-13 16:46:36 -0400
committerLogan Dethrow <log@lindenlab.com>2011-07-13 16:46:36 -0400
commitcb24dff9e36a963af280be1aead9424be8a678b6 (patch)
tree921bcf6a9fc3478c62d37df4518f7a230bc57593 /indra/llmessage/llpacketring.cpp
parentcfce3686dea74dfa2a6c92dbd1e8e1ae8518f259 (diff)
Code cleanup for the SOCKS 5 proxy viewer.
Diffstat (limited to 'indra/llmessage/llpacketring.cpp')
-rw-r--r--indra/llmessage/llpacketring.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmessage/llpacketring.cpp b/indra/llmessage/llpacketring.cpp
index a86b7b4370..ba82957b47 100644
--- a/indra/llmessage/llpacketring.cpp
+++ b/indra/llmessage/llpacketring.cpp
@@ -237,6 +237,8 @@ S32 LLPacketRing::receivePacket (S32 socket, char *datap)
proxywrap_t * header = reinterpret_cast<proxywrap_t *>(buffer);
mLastSender.setAddress(header->addr);
mLastSender.setPort(ntohs(header->port));
+
+ packet_size -= SOCKS_HEADER_SIZE; // The unwrapped packet size
}
else
{