commit d3da7ec5cbf03229ca19cfc1b4d1e134247ac286
parent 5d6f92e52951196ee8db39d25efbc9fcaa41521e
Author: Sheng <webmaster0115@gmail.com>
Date: Thu, 18 Oct 2018 15:20:27 +0800
Fixed boundary port number typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js
@@ -411,7 +411,7 @@ jQuery(function($){
msg = 'Need value username';
} else if (!hostname_tester.test(hostname)) {
msg = 'Invalid hostname: ' + hostname;
- } else if (port <= 0 || port > 63335) {
+ } else if (port <= 0 || port > 65535) {
msg = 'Invalid port: ' + port;
} else {
if (pk) {