Minor port-related fixes.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -212,7 +212,7 @@ public class Options {
|
||||
@Override
|
||||
public void read(String s) {
|
||||
int i = Integer.parseInt(s);
|
||||
if (i > 0 && i < 65535)
|
||||
if (i > 0 && i <= 65535)
|
||||
port = i;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user