mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
From: dirk husemann <hud@zurich.ibm.com>
attached is a patch set that
* adds further robustness checks for the CreateUser and CreateRegion
XmlRpc
* fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
expectation IPEndPoint.Address is not sufficient for a comparision,
IPEndPoint.Address.Address (the long representation) does work
however.
* add [RemoteAdmin] section to OpenSim.ini.example
* fixes XML doc comments
good night,
dirk
This commit is contained in:
@@ -297,8 +297,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
foreach (Scene mscene in m_localScenes)
|
||||
{
|
||||
if (mscene.RegionInfo.InternalEndPoint.Address == ipEndPoint.Address &&
|
||||
mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port)
|
||||
// .NET WEIRDNESS ALERT: need to compare the long
|
||||
// values of address...
|
||||
if ((mscene.RegionInfo.InternalEndPoint.Address.Address == ipEndPoint.Address.Address) &&
|
||||
(mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port))
|
||||
{
|
||||
scene = mscene;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user