aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index b6e9a65..0505e58 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -2157,6 +2157,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2157 { 2157 {
2158 Thread.Sleep(200); // the original delay that was at InformClientOfNeighbourAsync start 2158 Thread.Sleep(200); // the original delay that was at InformClientOfNeighbourAsync start
2159 int count = 0; 2159 int count = 0;
2160 IPEndPoint ipe;
2160 2161
2161 foreach (GridRegion neighbour in neighbours) 2162 foreach (GridRegion neighbour in neighbours)
2162 { 2163 {
@@ -2165,8 +2166,13 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2165 { 2166 {
2166 if (newneighbours.Contains(handler)) 2167 if (newneighbours.Contains(handler))
2167 { 2168 {
2168 InformClientOfNeighbourAsync(sp, cagents[count], neighbour, 2169 ipe = neighbour.ExternalEndPoint;
2169 neighbour.ExternalEndPoint, true); 2170 if (ipe != null)
2171 InformClientOfNeighbourAsync(sp, cagents[count], neighbour, ipe, true);
2172 else
2173 {
2174 m_log.Debug("[ENTITY TRANSFER MODULE]: DNS for neighbour lost");
2175 }
2170 count++; 2176 count++;
2171 } 2177 }
2172 else if (!previousRegionNeighbourHandles.Contains(handler)) 2178 else if (!previousRegionNeighbourHandles.Contains(handler))