diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 12 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 23b8fb4..a783050 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -226,7 +226,17 @@ namespace OpenSim.Region.Communications.OGS1 | |||
226 | uint port = Convert.ToUInt32(neighbourData["sim_port"]); | 226 | uint port = Convert.ToUInt32(neighbourData["sim_port"]); |
227 | string externalUri = (string) neighbourData["sim_uri"]; | 227 | string externalUri = (string) neighbourData["sim_uri"]; |
228 | 228 | ||
229 | string externalIpStr = Util.GetHostFromDNS(simIp).ToString(); | 229 | string externalIpStr = String.Empty; |
230 | try | ||
231 | { | ||
232 | externalIpStr = Util.GetHostFromDNS(simIp).ToString(); | ||
233 | } | ||
234 | catch (SocketException e) | ||
235 | { | ||
236 | m_log.WarnFormat("RequestNeighbours(): Lookup of neighbour {0} failed! Not including in neighbours list"); | ||
237 | continue; | ||
238 | } | ||
239 | |||
230 | SimpleRegionInfo sri = new SimpleRegionInfo(regX, regY, simIp, port); | 240 | SimpleRegionInfo sri = new SimpleRegionInfo(regX, regY, simIp, port); |
231 | 241 | ||
232 | sri.RemotingPort = Convert.ToUInt32(neighbourData["remoting_port"]); | 242 | sri.RemotingPort = Convert.ToUInt32(neighbourData["remoting_port"]); |
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 318b04a..2f81192 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -296,7 +296,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
296 | 296 | ||
297 | // FIXME: Okay, even though we've failed, we're still going to throw the exception on, | 297 | // FIXME: Okay, even though we've failed, we're still going to throw the exception on, |
298 | // since I don't know what will happen if we just let the client continue | 298 | // since I don't know what will happen if we just let the client continue |
299 | throw e; | 299 | |
300 | // XXX: Well, decided to swallow the exception instead for now. Let us see how that goes. | ||
301 | // throw e; | ||
302 | |||
300 | } | 303 | } |
301 | } | 304 | } |
302 | } | 305 | } |