Browse Source

Merge pull request #275 from rlucia/master

65535/tcp is a valid port number
pull/277/head
Shengdun Hua 3 years ago committed by GitHub
parent
commit
685e1a7df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      webssh/static/js/main.js

2
webssh/static/js/main.js

@ -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);
}
}

Loading…
Cancel
Save