Add hostnames in addition to IP address to some more places. This continues r7676.

NOTE: Changes UGAIM.
0.6.1-post-fixes
Homer Horwitz 2008-12-11 21:49:11 +00:00
parent 80e267dcfe
commit 7672bdb0a3
1 changed files with 2 additions and 0 deletions

View File

@ -561,6 +561,7 @@ namespace OpenSim.Grid.GridServer
foreach (RegionProfileData aSim in neighbours)
{
NeighbourBlock = new Hashtable();
NeighbourBlock["sim_host"] = aSim.serverIP;
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(aSim.serverIP.ToString()).ToString();
NeighbourBlock["sim_port"] = aSim.serverPort.ToString();
NeighbourBlock["region_locx"] = aSim.regionLocX.ToString();
@ -591,6 +592,7 @@ namespace OpenSim.Grid.GridServer
(uint)(sim.regionLocY + y) * Constants.RegionSize));
NeighbourBlock = new Hashtable();
NeighbourBlock["sim_host"] = neighbour.serverIP;
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(neighbour.serverIP).ToString();
NeighbourBlock["sim_port"] = neighbour.serverPort.ToString();
NeighbourBlock["region_locx"] = neighbour.regionLocX.ToString();