From 3c0b0fb3328efdcfb8c8ace4558dcd6b741f6fe2 Mon Sep 17 00:00:00 2001 From: Rocco Lucia Date: Wed, 9 Mar 2022 18:25:09 +0100 Subject: [PATCH] 65535/tcp is a valid port number --- 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 5cec096..f28e231 100644 --- a/webssh/static/js/main.js +++ b/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); } }