diff options
author | Melanie | 2010-07-31 00:57:50 +0100 |
---|---|---|
committer | Melanie | 2010-07-31 00:57:50 +0100 |
commit | 3302e8ddc4b7a99fc664d3fcc69cb61f9ee60116 (patch) | |
tree | 87bbf9ba4bf4e4e3b31e00d276dda98f1ecd156e /OpenSim/Services/LLLoginService | |
parent | Bannination fixes. Objects in nonpublic parcels were muted by default. Gods (diff) | |
parent | Slight improvement on previous commit. (diff) | |
download | opensim-SC-3302e8ddc4b7a99fc664d3fcc69cb61f9ee60116.zip opensim-SC-3302e8ddc4b7a99fc664d3fcc69cb61f9ee60116.tar.gz opensim-SC-3302e8ddc4b7a99fc664d3fcc69cb61f9ee60116.tar.bz2 opensim-SC-3302e8ddc4b7a99fc664d3fcc69cb61f9ee60116.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-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; |