mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
In an attempt to solve multihomed UDP problem I seem to have bound UDP socket to external IP instead of internal :)
This commit is contained in:
@@ -260,7 +260,7 @@ namespace OpenSim.Region.ClientStack
|
||||
for (uint i = 0; i < 20; i++)
|
||||
{
|
||||
newPort = listenPort + i;
|
||||
m_log.Verbose("SERVER", "Opening UDP socket on " + listenIP.ToString() + " " + newPort + ". Allow alternate ports: " + Allow_Alternate_Port.ToString());
|
||||
m_log.Verbose("SERVER", "Opening UDP socket on " + listenIP.ToString() + " " + newPort + ".");// Allow alternate ports: " + Allow_Alternate_Port.ToString());
|
||||
try
|
||||
{
|
||||
ServerIncoming = new IPEndPoint(listenIP, (int) newPort);
|
||||
@@ -272,7 +272,7 @@ namespace OpenSim.Region.ClientStack
|
||||
catch (Exception ex)
|
||||
{
|
||||
// We are not looking for alternate ports?
|
||||
if (!Allow_Alternate_Port)
|
||||
//if (!Allow_Alternate_Port)
|
||||
throw (ex);
|
||||
|
||||
// We are looking for alternate ports!
|
||||
|
||||
Reference in New Issue
Block a user