Fix max port number typo in Calibre plugin (#14991)
65355 → 65535: the transposed digits caused ports 65356–65535 to be silently rejected and reset to the default (9090).
This commit is contained in:
1 parent
ae5e94db77
commit
06b3a4e5b1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user