From d3da7ec5cbf03229ca19cfc1b4d1e134247ac286 Mon Sep 17 00:00:00 2001 From: Sheng Date: Thu, 18 Oct 2018 15:20:27 +0800 Subject: [PATCH] Fixed boundary port number typo --- webssh/static/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js index a06c430..9cd9e96 100644 --- 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) {