diff options
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 99e9c96..e8ed7f4 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -35,7 +35,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
35 | 35 | ||
36 | GridParams["authkey"] = serversInfo.GridSendKey; | 36 | GridParams["authkey"] = serversInfo.GridSendKey; |
37 | GridParams["UUID"] = regionInfo.SimUUID.ToStringHyphenated(); | 37 | GridParams["UUID"] = regionInfo.SimUUID.ToStringHyphenated(); |
38 | GridParams["sim_ip"] = regionInfo.InternalEndPoint.Address.ToString(); | 38 | GridParams["sim_ip"] = regionInfo.ExternalHostName; |
39 | GridParams["sim_port"] = regionInfo.InternalEndPoint.Port.ToString(); | 39 | GridParams["sim_port"] = regionInfo.InternalEndPoint.Port.ToString(); |
40 | GridParams["region_locx"] = regionInfo.RegionLocX.ToString(); | 40 | GridParams["region_locx"] = regionInfo.RegionLocX.ToString(); |
41 | GridParams["region_locy"] = regionInfo.RegionLocY.ToString(); | 41 | GridParams["region_locy"] = regionInfo.RegionLocY.ToString(); |
@@ -166,6 +166,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
166 | // Grid Request Processing | 166 | // Grid Request Processing |
167 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) | 167 | public XmlRpcResponse ExpectUser(XmlRpcRequest request) |
168 | { | 168 | { |
169 | Console.WriteLine("Expecting User..."); | ||
169 | Hashtable requestData = (Hashtable)request.Params[0]; | 170 | Hashtable requestData = (Hashtable)request.Params[0]; |
170 | AgentCircuitData agentData = new AgentCircuitData(); | 171 | AgentCircuitData agentData = new AgentCircuitData(); |
171 | agentData.SessionID = new LLUUID((string)requestData["session_id"]); | 172 | agentData.SessionID = new LLUUID((string)requestData["session_id"]); |