Browse Source

fix port range

tags/2.3
clowwindy 9 years ago
parent
commit
3a34bad62f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Controller/PolipoRunner.cs

+ 1
- 1
shadowsocks-csharp/Controller/PolipoRunner.cs View File

@@ -96,7 +96,7 @@ namespace Shadowsocks.Controller
{
usedPorts.Add(endPoint.Port);
}
for (int port = defaultPort; port < 65535; port++)
for (int port = defaultPort; port <= 65535; port++)
{
if (!usedPorts.Contains(port))
{


Loading…
Cancel
Save