diff options
| author | Logan Dethrow <log@lindenlab.com> | 2011-07-13 16:46:36 -0400 |
|---|---|---|
| committer | Logan Dethrow <log@lindenlab.com> | 2011-07-13 16:46:36 -0400 |
| commit | cb24dff9e36a963af280be1aead9424be8a678b6 (patch) | |
| tree | 921bcf6a9fc3478c62d37df4518f7a230bc57593 /indra/llmessage/llpacketring.cpp | |
| parent | cfce3686dea74dfa2a6c92dbd1e8e1ae8518f259 (diff) | |
Code cleanup for the SOCKS 5 proxy viewer.
Diffstat (limited to 'indra/llmessage/llpacketring.cpp')
| -rw-r--r-- | indra/llmessage/llpacketring.cpp | 2 |
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 { |
