diff options
Diffstat (limited to 'OpenSim/Services/LLLoginService')
-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 0bf75b0..09be4a2 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -761,12 +761,8 @@ namespace OpenSim.Services.LLLoginService | |||
761 | private bool LaunchAgentIndirectly(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, IPEndPoint clientIP, out string reason) | 761 | private bool LaunchAgentIndirectly(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, IPEndPoint clientIP, out string reason) |
762 | { | 762 | { |
763 | m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); | 763 | m_log.Debug("[LLOGIN SERVICE] Launching agent at " + destination.RegionName); |
764 | if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, out reason)) | 764 | if (m_UserAgentService.LoginAgentToGrid(aCircuit, gatekeeper, destination, clientIP, out reason)) |
765 | { | ||
766 | IPAddress addr = NetworkUtil.GetExternalIPOf(clientIP.Address); | ||
767 | m_UserAgentService.SetClientToken(aCircuit.SessionID, addr.ToString() /* clientIP.Address.ToString() */); | ||
768 | return true; | 765 | return true; |
769 | } | ||
770 | return false; | 766 | return false; |
771 | } | 767 | } |
772 | 768 | ||