Merge pull request #275 from rlucia/master

65535/tcp is a valid port number
This commit is contained in:
Shengdun Hua
2022-03-11 21:40:27 +08:00
committed by GitHub
+1 -1
View File
@@ -620,7 +620,7 @@ jQuery(function($){
if (!port) { if (!port) {
port = 22; port = 22;
} else { } else {
if (!(port > 0 && port < 65535)) { if (!(port > 0 && port <= 65535)) {
errors.push('Invalid port: ' + port); errors.push('Invalid port: ' + port);
} }
} }