no.. still a fail
parent
27afe136d4
commit
7be6e16555
|
@ -1078,31 +1078,25 @@ namespace OpenSim.Framework
|
|||
|
||||
// Reset for next check
|
||||
ia = null;
|
||||
#if (_MONO)
|
||||
// mono is a TOTAL CRAP
|
||||
int retry = 3;
|
||||
while(ia == null && retry-- >= 0)
|
||||
#endif
|
||||
try
|
||||
{
|
||||
try
|
||||
foreach (IPAddress Adr in Dns.GetHostAddresses(hostname))
|
||||
{
|
||||
foreach (IPAddress Adr in Dns.GetHostAddresses(hostname))
|
||||
{
|
||||
if (ia == null)
|
||||
ia = Adr;
|
||||
if (ia == null)
|
||||
ia = Adr;
|
||||
|
||||
if (Adr.AddressFamily == AddressFamily.InterNetwork)
|
||||
{
|
||||
ia = Adr;
|
||||
break;
|
||||
}
|
||||
if (Adr.AddressFamily == AddressFamily.InterNetwork)
|
||||
{
|
||||
ia = Adr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch // (SocketException e)
|
||||
{
|
||||
ia = null;
|
||||
}
|
||||
}
|
||||
catch // (SocketException e)
|
||||
{
|
||||
ia = null;
|
||||
}
|
||||
|
||||
return getEndPoint(ia,port);
|
||||
}
|
||||
|
||||
|
|
|
@ -2171,7 +2171,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
|||
InformClientOfNeighbourAsync(sp, cagents[count], neighbour, ipe, true);
|
||||
else
|
||||
{
|
||||
m_log.Debug("[ENTITY TRANSFER MODULE]: DNS for neighbour lost");
|
||||
m_log.DebugFormat("[ENTITY TRANSFER MODULE]: DNS for neighbour {0} lost", neighbour.ExternalHostName);
|
||||
}
|
||||
count++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue