Add hostnames in addition to IP address to some more places. This continues r7676.
NOTE: Changes UGAIM.0.6.1-post-fixes
parent
80e267dcfe
commit
7672bdb0a3
|
@ -561,6 +561,7 @@ namespace OpenSim.Grid.GridServer
|
||||||
foreach (RegionProfileData aSim in neighbours)
|
foreach (RegionProfileData aSim in neighbours)
|
||||||
{
|
{
|
||||||
NeighbourBlock = new Hashtable();
|
NeighbourBlock = new Hashtable();
|
||||||
|
NeighbourBlock["sim_host"] = aSim.serverIP;
|
||||||
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(aSim.serverIP.ToString()).ToString();
|
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(aSim.serverIP.ToString()).ToString();
|
||||||
NeighbourBlock["sim_port"] = aSim.serverPort.ToString();
|
NeighbourBlock["sim_port"] = aSim.serverPort.ToString();
|
||||||
NeighbourBlock["region_locx"] = aSim.regionLocX.ToString();
|
NeighbourBlock["region_locx"] = aSim.regionLocX.ToString();
|
||||||
|
@ -591,6 +592,7 @@ namespace OpenSim.Grid.GridServer
|
||||||
(uint)(sim.regionLocY + y) * Constants.RegionSize));
|
(uint)(sim.regionLocY + y) * Constants.RegionSize));
|
||||||
|
|
||||||
NeighbourBlock = new Hashtable();
|
NeighbourBlock = new Hashtable();
|
||||||
|
NeighbourBlock["sim_host"] = neighbour.serverIP;
|
||||||
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(neighbour.serverIP).ToString();
|
NeighbourBlock["sim_ip"] = Util.GetHostFromDNS(neighbour.serverIP).ToString();
|
||||||
NeighbourBlock["sim_port"] = neighbour.serverPort.ToString();
|
NeighbourBlock["sim_port"] = neighbour.serverPort.ToString();
|
||||||
NeighbourBlock["region_locx"] = neighbour.regionLocX.ToString();
|
NeighbourBlock["region_locx"] = neighbour.regionLocX.ToString();
|
||||||
|
|
Loading…
Reference in New Issue