aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 5f0c80c..2ac7297 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -75,18 +75,14 @@ namespace OpenSim.Region.Communications.OGS1
75 75
76 foreach (Hashtable n in (Hashtable)respData.Values) 76 foreach (Hashtable n in (Hashtable)respData.Values)
77 { 77 {
78 RegionInfo neighbour = new RegionInfo(); 78 RegionInfo neighbour = new RegionInfo( (uint)n["x"], (uint)n["y"], (string)n["sim_ip"], (int)n["sim_port"], (string)n["sim_uri"] );
79 79
80 //OGS1 80 //OGS1
81 neighbour.RegionHandle = (ulong)n["regionhandle"]; 81 //neighbour.RegionHandle = (ulong)n["regionhandle"]; is now calculated locally
82 neighbour.RegionLocX = (uint)n["x"]; 82
83 neighbour.RegionLocY = (uint)n["y"];
84 neighbour.RegionName = (string)n["name"]; 83 neighbour.RegionName = (string)n["name"];
85 84
86 //OGS1+ 85 //OGS1+
87 neighbour.CommsIPListenAddr = (string)n["sim_ip"];
88 neighbour.CommsIPListenPort = (int)n["sim_port"];
89 neighbour.CommsExternalAddress = (string)n["sim_uri"];
90 neighbour.SimUUID = (string)n["uuid"]; 86 neighbour.SimUUID = (string)n["uuid"];
91 87
92 neighbours.Add(neighbour); 88 neighbours.Add(neighbour);