diff options
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index 8757a4c..c810b35 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -386,13 +386,11 @@ namespace OpenSim.Services.HypergridService | |||
386 | 386 | ||
387 | if (m_TravelingAgents.ContainsKey(sessionID)) | 387 | if (m_TravelingAgents.ContainsKey(sessionID)) |
388 | { | 388 | { |
389 | bool result = m_TravelingAgents[sessionID].ClientIPAddress == reportedIP || | 389 | m_log.DebugFormat("[USER AGENT SERVICE]: Comparing with login IP {0} and MyIP {1}", |
390 | m_TravelingAgents[sessionID].MyIpAddress == reportedIP; // NATed | 390 | m_TravelingAgents[sessionID].ClientIPAddress, m_TravelingAgents[sessionID].MyIpAddress); |
391 | |||
392 | m_log.DebugFormat("[USER AGENT SERVICE]: Comparing {0} with login IP {1} and MyIP {1}; result is {3}", | ||
393 | reportedIP, m_TravelingAgents[sessionID].ClientIPAddress, m_TravelingAgents[sessionID].MyIpAddress, result); | ||
394 | 391 | ||
395 | return result; | 392 | return m_TravelingAgents[sessionID].ClientIPAddress == reportedIP || |
393 | m_TravelingAgents[sessionID].MyIpAddress == reportedIP; // NATed | ||
396 | } | 394 | } |
397 | 395 | ||
398 | return false; | 396 | return false; |