aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 5ddad00..99e2b20 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -117,7 +117,7 @@ namespace OpenSim.Region.Communications.OGS1
117 uint regY = Convert.ToUInt32(n["y"]); 117 uint regY = Convert.ToUInt32(n["y"]);
118 if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY)) 118 if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY))
119 { 119 {
120 string externalIpStr = (string)n["sim_ip"]; 120 string externalIpStr = Dns.GetHostByName((string)n["sim_ip"]).AddressList[0].ToString();
121 uint port = Convert.ToUInt32(n["sim_port"]); 121 uint port = Convert.ToUInt32(n["sim_port"]);
122 string externalUri = (string)n["sim_uri"]; 122 string externalUri = (string)n["sim_uri"];
123 123