aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-17 19:40:22 +0000
committerAdam Frisby2007-07-17 19:40:22 +0000
commit3a554de6e2350e0c282e3ede3b538fb5c32923c2 (patch)
tree404760237114263ebb9780f22f543d59245153e0 /OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
parent* Added quick ping check reply system to OGS1GridServices (diff)
downloadopensim-SC-3a554de6e2350e0c282e3ede3b538fb5c32923c2.zip
opensim-SC-3a554de6e2350e0c282e3ede3b538fb5c32923c2.tar.gz
opensim-SC-3a554de6e2350e0c282e3ede3b538fb5c32923c2.tar.bz2
opensim-SC-3a554de6e2350e0c282e3ede3b538fb5c32923c2.tar.xz
* Applying babblefrog's DNS patches from issue #188
Diffstat (limited to '')
-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