* Fixed two compiler warnings dealing with IPAddress equality.
parent
b280605237
commit
a2b32bdd6f
|
@ -297,9 +297,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
foreach (Scene mscene in m_localScenes)
|
||||
{
|
||||
// .NET WEIRDNESS ALERT: need to compare the long
|
||||
// values of address...
|
||||
if ((mscene.RegionInfo.InternalEndPoint.Address.Address == ipEndPoint.Address.Address) &&
|
||||
if((mscene.RegionInfo.InternalEndPoint.Address.Equals(ipEndPoint.Address.Address)) &&
|
||||
(mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port))
|
||||
{
|
||||
scene = mscene;
|
||||
|
|
Loading…
Reference in New Issue