aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General
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/Framework/General
parent* Added quick ping check reply system to OGS1GridServices (diff)
downloadopensim-SC_OLD-3a554de6e2350e0c282e3ede3b538fb5c32923c2.zip
opensim-SC_OLD-3a554de6e2350e0c282e3ede3b538fb5c32923c2.tar.gz
opensim-SC_OLD-3a554de6e2350e0c282e3ede3b538fb5c32923c2.tar.bz2
opensim-SC_OLD-3a554de6e2350e0c282e3ede3b538fb5c32923c2.tar.xz
* Applying babblefrog's DNS patches from issue #188
Diffstat (limited to 'OpenSim/Framework/General')
-rw-r--r--OpenSim/Framework/General/Types/RegionInfo.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/General/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs
index a216b52..c347918 100644
--- a/OpenSim/Framework/General/Types/RegionInfo.cs
+++ b/OpenSim/Framework/General/Types/RegionInfo.cs
@@ -210,9 +210,10 @@ namespace OpenSim.Framework.Types
210 210
211 this.DataStore = GetString(configData, "Datastore", "localworld.yap", "Filename for local storage"); 211 this.DataStore = GetString(configData, "Datastore", "localworld.yap", "Filename for local storage");
212 212
213 IPAddress internalAddress = GetIPAddress(configData, "InternalIPAddress", "0.0.0.0", "Internal IP Address for UDP client connections"); 213 string internalAddress = GetString(configData, "InternalIPAddress", "0.0.0.0", "Internal IP Address for UDP client connections").ToString();
214 int internalPort = GetIPPort(configData, "InternalIPPort", "9000", "Internal IP Port for UDP client connections"); 214 int internalPort = GetIPPort(configData, "InternalIPPort", "9000", "Internal IP Port for UDP client connections");
215 m_internalEndPoint = new IPEndPoint(internalAddress, internalPort); 215 IPAddress internalIPAddress = Dns.GetHostByName(internalAddress).AddressList[0];
216 m_internalEndPoint = new IPEndPoint(internalIPAddress, internalPort);
216 217
217 m_externalHostName = GetString(configData, "ExternalHostName", "127.0.0.1", "External Host Name"); 218 m_externalHostName = GetString(configData, "ExternalHostName", "127.0.0.1", "External Host Name");
218 219