aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/UserAgentService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-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 49c7f89..a49993c 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -313,13 +313,11 @@ namespace OpenSim.Services.HypergridService
313 313
314 if (m_TravelingAgents.ContainsKey(sessionID)) 314 if (m_TravelingAgents.ContainsKey(sessionID))
315 { 315 {
316 bool result = m_TravelingAgents[sessionID].ClientIPAddress == reportedIP || 316 m_log.DebugFormat("[USER AGENT SERVICE]: Comparing with login IP {0} and MyIP {1}",
317 m_TravelingAgents[sessionID].MyIpAddress == reportedIP; // NATed 317 m_TravelingAgents[sessionID].ClientIPAddress, m_TravelingAgents[sessionID].MyIpAddress);
318
319 m_log.DebugFormat("[USER AGENT SERVICE]: Comparing {0} with login IP {1} and MyIP {1}; result is {3}",
320 reportedIP, m_TravelingAgents[sessionID].ClientIPAddress, m_TravelingAgents[sessionID].MyIpAddress, result);
321 318
322 return result; 319 return m_TravelingAgents[sessionID].ClientIPAddress == reportedIP ||
320 m_TravelingAgents[sessionID].MyIpAddress == reportedIP; // NATed
323 } 321 }
324 322
325 return false; 323 return false;