Skip to content

Commit 3c0b0fb

Browse files
committed
65535/tcp is a valid port number
1 parent 86c98da commit 3c0b0fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webssh/static/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ jQuery(function($){
620620
if (!port) {
621621
port = 22;
622622
} else {
623-
if (!(port > 0 && port < 65535)) {
623+
if (!(port > 0 && port <= 65535)) {
624624
errors.push('Invalid port: ' + port);
625625
}
626626
}

0 commit comments

Comments
 (0)