Skip to content

Commit 685e1a7

Browse files
authored
Merge pull request #275 from rlucia/master
65535/tcp is a valid port number
2 parents 86c98da + 3c0b0fb commit 685e1a7

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)