diff options
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index f942070..5aeba7d 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -754,12 +754,8 @@ namespace OpenSim.Services.LLLoginService | |||
754 | private bool LaunchAgentIndirectly(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, IPEndPoint clientIP, out string reason) | 754 | private bool LaunchAgentIndirectly(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, IPEndPoint clientIP, out string reason) |
755 | { | 755 | { |
756 | m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); | 756 | m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); |
757 | if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, out reason)) | 757 | if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, clientIP, out reason)) |
758 | { | ||
759 | IPAddress addr = NetworkUtil.GetExternalIPOf(clientIP.Address); | ||
760 | m_UserAgentService.SetClientToken(aCircuit.SessionID, addr.ToString() /* clientIP.Address.ToString() */); | ||
761 | return true; | 758 | return true; |
762 | } | ||
763 | return false; | 759 | return false; |
764 | } | 760 | } |
765 | 761 | ||