diff options
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index eb19fe2..32b4249 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -135,8 +135,6 @@ namespace OpenSim.Services.HypergridService | |||
135 | { | 135 | { |
136 | m_log.DebugFormat("[USER AGENT SERVICE]: Request to login user {0} {1} (@{2}) to grid {3}", | 136 | m_log.DebugFormat("[USER AGENT SERVICE]: Request to login user {0} {1} (@{2}) to grid {3}", |
137 | agentCircuit.firstname, agentCircuit.lastname, ((clientIP == null) ? "stored IP" : clientIP.Address.ToString()), gatekeeper.ServerURI); | 137 | agentCircuit.firstname, agentCircuit.lastname, ((clientIP == null) ? "stored IP" : clientIP.Address.ToString()), gatekeeper.ServerURI); |
138 | |||
139 | m_log.Debug("LATG final server uri -> " + finalDestination.ServerURI ); | ||
140 | // Take the IP address + port of the gatekeeper (reg) plus the info of finalDestination | 138 | // Take the IP address + port of the gatekeeper (reg) plus the info of finalDestination |
141 | GridRegion region = new GridRegion(gatekeeper); | 139 | GridRegion region = new GridRegion(gatekeeper); |
142 | region.ServerURI = gatekeeper.ServerURI; | 140 | region.ServerURI = gatekeeper.ServerURI; |
@@ -150,12 +148,13 @@ namespace OpenSim.Services.HypergridService | |||
150 | // Generate a new service session | 148 | // Generate a new service session |
151 | agentCircuit.ServiceSessionID = region.ServerURI + ";" + UUID.Random(); | 149 | agentCircuit.ServiceSessionID = region.ServerURI + ";" + UUID.Random(); |
152 | TravelingAgentInfo old = UpdateTravelInfo(agentCircuit, region); | 150 | TravelingAgentInfo old = UpdateTravelInfo(agentCircuit, region); |
153 | |||
154 | m_log.Debug("region ServerURI -> " + region.ServerURI); | ||
155 | 151 | ||
156 | bool success = false; | 152 | bool success = false; |
157 | string myExternalIP = string.Empty; | 153 | string myExternalIP = string.Empty; |
158 | string gridName = gatekeeper.ServerURI; | 154 | string gridName = gatekeeper.ServerURI; |
155 | |||
156 | m_log.Debug("m_grid - " + m_GridName + ", gn - " + gridName); | ||
157 | |||
159 | if (m_GridName == gridName) | 158 | if (m_GridName == gridName) |
160 | success = m_GatekeeperService.LoginAgent(agentCircuit, finalDestination, out reason); | 159 | success = m_GatekeeperService.LoginAgent(agentCircuit, finalDestination, out reason); |
161 | else | 160 | else |