diff options
author | Adam Frisby | 2007-07-19 00:25:40 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-19 00:25:40 +0000 |
commit | 6cf9d6da213c048c69b9ab2104086e7e06674fb9 (patch) | |
tree | 985fa00ce46c6cb17cea6956bf830b34c70091d8 /OpenSim/Region/Communications/OGS1 | |
parent | * Removing more compiler warnings. (diff) | |
download | opensim-SC-6cf9d6da213c048c69b9ab2104086e7e06674fb9.zip opensim-SC-6cf9d6da213c048c69b9ab2104086e7e06674fb9.tar.gz opensim-SC-6cf9d6da213c048c69b9ab2104086e7e06674fb9.tar.bz2 opensim-SC-6cf9d6da213c048c69b9ab2104086e7e06674fb9.tar.xz |
* Removing more compiler warnings
Diffstat (limited to 'OpenSim/Region/Communications/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 317a0ba..9a9efec 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 = Dns.GetHostByName((string)n["sim_ip"]).AddressList[0].ToString(); | 120 | string externalIpStr = OpenSim.Framework.Utilities.Util.GetHostFromDNS((string)n["sim_ip"]).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 | ||