diff options
Diffstat (limited to 'linden/indra/llmessage/message.cpp')
-rw-r--r-- | linden/indra/llmessage/message.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/llmessage/message.cpp b/linden/indra/llmessage/message.cpp index 27f9d12..b20731a 100644 --- a/linden/indra/llmessage/message.cpp +++ b/linden/indra/llmessage/message.cpp | |||
@@ -754,11 +754,19 @@ BOOL LLMessageSystem::checkMessages( S64 frame_count ) | |||
754 | clearReceiveState(); | 754 | clearReceiveState(); |
755 | valid_packet = FALSE; | 755 | valid_packet = FALSE; |
756 | } | 756 | } |
757 | |||
758 | if( valid_packet && mTemplateMessageReader->isUdpBanned()) | ||
759 | { | ||
760 | llwarns << "Received UDP black listed message " | ||
761 | << mTemplateMessageReader->getMessageName() | ||
762 | << " from " << host << llendl; | ||
763 | clearReceiveState(); | ||
764 | valid_packet = FALSE; | ||
765 | } | ||
757 | 766 | ||
758 | if( valid_packet ) | 767 | if( valid_packet ) |
759 | { | 768 | { |
760 | logValidMsg(cdp, host, recv_reliable, recv_resent, (BOOL)(acks>0) ); | 769 | logValidMsg(cdp, host, recv_reliable, recv_resent, (BOOL)(acks>0) ); |
761 | |||
762 | valid_packet = mTemplateMessageReader->readMessage(buffer, host); | 770 | valid_packet = mTemplateMessageReader->readMessage(buffer, host); |
763 | } | 771 | } |
764 | 772 | ||