mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Bug fix for making cross-grid login work.
This commit is contained in:
@@ -165,13 +165,17 @@ namespace OpenSim.Services.GridService
|
||||
regionName = parts[2];
|
||||
}
|
||||
|
||||
// Sanity check. Don't ever link to this sim.
|
||||
// Sanity check.
|
||||
IPAddress ipaddr = null;
|
||||
try
|
||||
{
|
||||
ipaddr = Util.GetHostFromDNS(host);
|
||||
}
|
||||
catch { }
|
||||
catch
|
||||
{
|
||||
reason = "Malformed hostname";
|
||||
return null;
|
||||
}
|
||||
|
||||
GridRegion regInfo;
|
||||
bool success = TryCreateLink(scopeID, xloc, yloc, regionName, port, host, out regInfo, out reason);
|
||||
|
||||
@@ -405,6 +405,7 @@ namespace OpenSim.Services.LLLoginService
|
||||
gatekeeper.ExternalHostName = domainName;
|
||||
gatekeeper.HttpPort = port;
|
||||
gatekeeper.RegionName = regionName;
|
||||
gatekeeper.InternalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), 0);
|
||||
|
||||
UUID regionID;
|
||||
ulong handle;
|
||||
|
||||
Reference in New Issue
Block a user