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