diff options
author | Adam Frisby | 2007-07-17 19:40:22 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-17 19:40:22 +0000 |
commit | 3a554de6e2350e0c282e3ede3b538fb5c32923c2 (patch) | |
tree | 404760237114263ebb9780f22f543d59245153e0 /OpenSim/Grid/UserServer/UserManager.cs | |
parent | * Added quick ping check reply system to OGS1GridServices (diff) | |
download | opensim-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 'OpenSim/Grid/UserServer/UserManager.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index bb7d673..74d2248 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | */ | 27 | */ |
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Net; | ||
30 | using Nwc.XmlRpc; | 31 | using Nwc.XmlRpc; |
31 | using OpenSim.Framework.Data; | 32 | using OpenSim.Framework.Data; |
32 | using OpenSim.Framework.UserManagement; | 33 | using OpenSim.Framework.UserManagement; |
@@ -59,7 +60,7 @@ namespace OpenSim.Grid.UserServer | |||
59 | 60 | ||
60 | // Destination | 61 | // Destination |
61 | Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); | 62 | Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY); |
62 | response.SimAddress = SimInfo.serverIP; | 63 | response.SimAddress = Dns.GetHostByName(SimInfo.serverIP).AddressList[0].ToString(); |
63 | response.SimPort = (Int32)SimInfo.serverPort; | 64 | response.SimPort = (Int32)SimInfo.serverPort; |
64 | response.RegionX = SimInfo.regionLocX; | 65 | response.RegionX = SimInfo.regionLocX; |
65 | response.RegionY = SimInfo.regionLocY; | 66 | response.RegionY = SimInfo.regionLocY; |