aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/RegionApplicationBase.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-02 16:03:10 +0000
committerTedd Hansen2008-02-02 16:03:10 +0000
commit3a6405d2f77ec99fb5592fa9d6aa5884dfbef22f (patch)
tree0b6a6943c593fe50fe7c930ea53320bb64c1143a /OpenSim/Region/ClientStack/RegionApplicationBase.cs
parent* Added Full support for llSetTextureAnim. To ckrinke: Let the fountains o... (diff)
downloadopensim-SC_OLD-3a6405d2f77ec99fb5592fa9d6aa5884dfbef22f.zip
opensim-SC_OLD-3a6405d2f77ec99fb5592fa9d6aa5884dfbef22f.tar.gz
opensim-SC_OLD-3a6405d2f77ec99fb5592fa9d6aa5884dfbef22f.tar.bz2
opensim-SC_OLD-3a6405d2f77ec99fb5592fa9d6aa5884dfbef22f.tar.xz
In an attempt to solve multihomed UDP problem I seem to have bound UDP socket to external IP instead of internal :)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/RegionApplicationBase.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index f8b0c9e..4dce9e7 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -109,9 +109,9 @@ namespace OpenSim.Region.ClientStack
109 protected Scene SetupScene(RegionInfo regionInfo, out UDPServer udpServer, bool m_permissions) 109 protected Scene SetupScene(RegionInfo regionInfo, out UDPServer udpServer, bool m_permissions)
110 { 110 {
111 AgentCircuitManager circuitManager = new AgentCircuitManager(); 111 AgentCircuitManager circuitManager = new AgentCircuitManager();
112 IPAddress listenIP; 112 IPAddress listenIP = regionInfo.InternalEndPoint.Address;
113 if (!IPAddress.TryParse(regionInfo.ExternalHostName, out listenIP)) 113 //if (!IPAddress.TryParse(regionInfo.InternalEndPoint, out listenIP))
114 listenIP = IPAddress.Parse("0.0.0.0"); 114 // listenIP = IPAddress.Parse("0.0.0.0");
115 115
116 uint port = (uint) regionInfo.InternalEndPoint.Port; 116 uint port = (uint) regionInfo.InternalEndPoint.Port;
117 udpServer = new UDPServer(listenIP, ref port, regionInfo.m_allow_alternate_ports, m_assetCache, m_log, circuitManager); 117 udpServer = new UDPServer(listenIP, ref port, regionInfo.m_allow_alternate_ports, m_assetCache, m_log, circuitManager);