Add a way to use with nat #129

Merged
louis_royer merged 3 commits from nat into master 2020-04-14 15:35:26 +02:00
Showing only changes of commit a9e22d5fae - Show all commits

View File

@ -103,7 +103,7 @@ public class ClientP2P {
final ServerPortRange serverPortRange = new ServerPortRange();
final TrackerPortRange trackerPortRange = new TrackerPortRange();
if ((args.length != 6) && (args.length != 0)) {
if ((args.length != 6) && (args.length != 0) && (args.length != 8)) {
ClientP2P.printUsage(serverPortRange, trackerPortRange);
System.exit(1);
} else if (args.length == 6) {