diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index d27c26d..9446126 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -760,10 +760,8 @@ namespace OpenSim.Services.LLLoginService | |||
760 | m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); | 760 | m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); |
761 | if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, out reason)) | 761 | if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, out reason)) |
762 | { | 762 | { |
763 | // We may need to do this at some point, | 763 | IPAddress addr = NetworkUtil.GetExternalIPOf(clientIP.Address); |
764 | // so leaving it here in comments. | 764 | m_UserAgentService.SetClientToken(aCircuit.SessionID, addr.ToString() /* clientIP.Address.ToString() */); |
765 | //IPAddress addr = NetworkUtil.GetIPFor(clientIP.Address, destination.ExternalEndPoint.Address); | ||
766 | m_UserAgentService.SetClientToken(aCircuit.SessionID, /*addr.Address.ToString() */ clientIP.Address.ToString()); | ||
767 | return true; | 765 | return true; |
768 | } | 766 | } |
769 | return false; | 767 | return false; |