mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Remove the AllowAlternatePorts option. It wasn't implemented anyway.
Instead, handle the port being 0 as "any port" and assign a random port for regions in that case.
This commit is contained in:
@@ -86,10 +86,10 @@ namespace OpenSim.Tests.Common
|
||||
uint port = 0;
|
||||
AgentCircuitManager acm = scene.AuthenticateHandler;
|
||||
|
||||
TestLLUDPServer udpServer = new TestLLUDPServer(IPAddress.Any, ref port, 0, false, configSource, acm);
|
||||
TestLLUDPServer udpServer = new TestLLUDPServer(IPAddress.Any, ref port, 0, configSource, acm);
|
||||
udpServer.AddScene(scene);
|
||||
|
||||
return udpServer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user