aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index c4c2ffd..a4fa3bb 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -1547,7 +1547,16 @@ namespace OpenSim.Region.Communications.OGS1
1547 1547
1548 IPAddress ia; 1548 IPAddress ia;
1549 IPAddress.TryParse(address, out ia); 1549 IPAddress.TryParse(address, out ia);
1550 IPEndPoint m_EndPoint = new IPEndPoint(ia, (int)port); 1550 IPEndPoint m_EndPoint;
1551 try
1552 {
1553 m_EndPoint = new IPEndPoint(ia, (int)port);
1554 }
1555 catch (Exception)
1556 {
1557 m_log.Debug("[OGS1 GRID SERVICES]: Invalid remoting address: " + address);
1558 return false;
1559 }
1551 1560
1552 AsyncCallback callback = delegate(IAsyncResult iar) 1561 AsyncCallback callback = delegate(IAsyncResult iar)
1553 { 1562 {