diff options
author | Adam Frisby | 2007-07-18 21:55:24 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-18 21:55:24 +0000 |
commit | 11efebd29ee264402117f0a98b460b7aff23d369 (patch) | |
tree | db448ada6267716e800947e4f45b131ba40a4970 /OpenSim/Grid | |
parent | A script/custom application should be able to add a particle system to a prim... (diff) | |
download | opensim-SC_OLD-11efebd29ee264402117f0a98b460b7aff23d369.zip opensim-SC_OLD-11efebd29ee264402117f0a98b460b7aff23d369.tar.gz opensim-SC_OLD-11efebd29ee264402117f0a98b460b7aff23d369.tar.bz2 opensim-SC_OLD-11efebd29ee264402117f0a98b460b7aff23d369.tar.xz |
* Added "GetHostFromDNS" to Util to replace the various DNS resolution methods we use. Favours IPv4 addresses before IPv6 addresses to work around the Vista preference issue.
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 74d2248..c459b93 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -60,7 +60,7 @@ namespace OpenSim.Grid.UserServer | |||
60 | 60 | ||
61 | // Destination | 61 | // Destination |
62 | Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); | 62 | Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); |
63 | response.SimAddress = Dns.GetHostByName(SimInfo.serverIP).AddressList[0].ToString(); | 63 | response.SimAddress = Util.GetHostFromDNS(SimInfo.serverIP).ToString(); |
64 | response.SimPort = (Int32)SimInfo.serverPort; | 64 | response.SimPort = (Int32)SimInfo.serverPort; |
65 | response.RegionX = SimInfo.regionLocX; | 65 | response.RegionX = SimInfo.regionLocX; |
66 | response.RegionY = SimInfo.regionLocY; | 66 | response.RegionY = SimInfo.regionLocY; |