From ecfdb06e30373f3eae9a00cdd9fba48f7256c509 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sat, 4 Mar 2023 20:18:23 +0100 Subject: [PATCH] prestium: fix i2p port range --- src/utils/os/Prestium.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/os/Prestium.cpp b/src/utils/os/Prestium.cpp index 4cfe081a..5ce082a7 100644 --- a/src/utils/os/Prestium.cpp +++ b/src/utils/os/Prestium.cpp @@ -23,7 +23,7 @@ int Prestium::i2pPort() } int port = portStr.toInt(); - if (port < 1 || port > 65535) { + if (port < 1024 || port > 65535) { return PRESTIUM_DEFAULT_PORT; } -- 2.52.0