* Fixed bug where UserServer SendKey would not be saved in configuration.
parent
e207cc615f
commit
593851eaa5
|
@ -187,7 +187,7 @@ namespace OpenSim.Framework.Types
|
|||
if (attri == "")
|
||||
{
|
||||
this.UserRecvKey = MainLog.Instance.CmdPrompt("Key to expect from user server", "null");
|
||||
configData.SetAttribute("GridRecvKey", this.UserRecvKey);
|
||||
configData.SetAttribute("UserRecvKey", this.UserRecvKey);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -116,13 +116,13 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
uint regY = Convert.ToUInt32(n["y"]);
|
||||
if ((regionInfo.RegionLocX != regX) || (regionInfo.RegionLocY != regY))
|
||||
{
|
||||
string internalIpStr = (string)n["sim_ip"];
|
||||
string externalIpStr = (string)n["sim_ip"];
|
||||
uint port = Convert.ToUInt32(n["sim_port"]);
|
||||
string externalUri = (string)n["sim_uri"];
|
||||
|
||||
IPEndPoint neighbourInternalEndPoint = new IPEndPoint(IPAddress.Parse(internalIpStr), (int)port);
|
||||
IPEndPoint neighbourInternalEndPoint = new IPEndPoint(IPAddress.Parse(externalIpStr), (int)port);
|
||||
string neighbourExternalUri = externalUri;
|
||||
RegionInfo neighbour = new RegionInfo(regX, regY, neighbourInternalEndPoint, internalIpStr);
|
||||
RegionInfo neighbour = new RegionInfo(regX, regY, neighbourInternalEndPoint, externalIpStr);
|
||||
|
||||
//OGS1
|
||||
//neighbour.RegionHandle = (ulong)n["regionhandle"]; is now calculated locally
|
||||
|
|
Loading…
Reference in New Issue