mirror of
https://github.com/huashengdun/webssh.git
synced 2026-02-14 11:49:50 +00:00
65535/tcp is a valid port number
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user