From 06b3a4e5b1ea8c2cbb64db68cecf0cc595af9d2f Mon Sep 17 00:00:00 2001 From: "Min S. Kim" Date: Mon, 16 Feb 2026 13:14:06 -0800 Subject: [PATCH] Fix max port number typo in Calibre plugin (#14991) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 65355 → 65535: the transposed digits caused ports 65356–65535 to be silently rejected and reset to the default (9090). --- plugins/calibre.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calibre.koplugin/main.lua b/plugins/calibre.koplugin/main.lua index a6f7eb4be..5faa19ea1 100644 --- a/plugins/calibre.koplugin/main.lua +++ b/plugins/calibre.koplugin/main.lua @@ -344,7 +344,7 @@ function Calibre:getWirelessMenuTable() local fields = url_dialog:getFields() if fields[1] ~= "" then local port = tonumber(fields[2]) - if not port or port < 1 or port > 65355 then + if not port or port < 1 or port > 65535 then --default port port = 9090 end