summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/llmessage/message.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/indra/llmessage/message.cpp b/indra/llmessage/message.cpp
index 73cda52fa0..f849e989b4 100644
--- a/indra/llmessage/message.cpp
+++ b/indra/llmessage/message.cpp
@@ -3232,10 +3232,16 @@ void LLMessageSystem::logMsgFromInvalidCircuit( const LLHost& host, BOOL recv_re
void LLMessageSystem::logTrustedMsgFromUntrustedCircuit( const LLHost& host )
{
- llwarns << "Recieved trusted message on untrusted circuit. "
- << "Will reply with deny. "
- << "Message: " << mCurrentRMessageTemplate->mName
- << " Host: " << host << llendl;
+ // RequestTrustedCircuit is how we establish trust, so don't spam
+ // if it's received on a trusted circuit. JC
+ if (strcmp(mCurrentRMessageTemplate->mName, "RequestTrustedCircuit"))
+ {
+ llwarns << "Received trusted message on untrusted circuit. "
+ << "Will reply with deny. "
+ << "Message: " << mCurrentRMessageTemplate->mName
+ << " Host: " << host << llendl;
+ }
+
if (mNumMessageCounts >= MAX_MESSAGE_COUNT_NUM)
{
llwarns << "got more than " << MAX_MESSAGE_COUNT_NUM