mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
* Applying babblefrog's DNS patches from issue #188
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
*/
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Net;
|
||||
using Nwc.XmlRpc;
|
||||
using OpenSim.Framework.Data;
|
||||
using OpenSim.Framework.UserManagement;
|
||||
@@ -59,7 +60,7 @@ namespace OpenSim.Grid.UserServer
|
||||
|
||||
// Destination
|
||||
Console.WriteLine("CUSTOMISERESPONSE: Region X: " + SimInfo.regionLocX + "; Region Y: " + SimInfo.regionLocY);
|
||||
response.SimAddress = SimInfo.serverIP;
|
||||
response.SimAddress = Dns.GetHostByName(SimInfo.serverIP).AddressList[0].ToString();
|
||||
response.SimPort = (Int32)SimInfo.serverPort;
|
||||
response.RegionX = SimInfo.regionLocX;
|
||||
response.RegionY = SimInfo.regionLocY;
|
||||
|
||||
Reference in New Issue
Block a user