65535/tcp is a valid port number

pull/275/head
Rocco Lucia 2022-03-09 18:25:09 +01:00
parent 86c98dacc4
commit 3c0b0fb332
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ jQuery(function($){
if (!port) {
port = 22;
} else {
if (!(port > 0 && port < 65535)) {
if (!(port > 0 && port <= 65535)) {
errors.push('Invalid port: ' + port);
}
}