From: tobtoht Date: Sat, 4 Mar 2023 19:18:23 +0000 (+0100) Subject: prestium: fix i2p port range X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=ecfdb06e30373f3eae9a00cdd9fba48f7256c509;p=gamesguru%2Ffeather.git prestium: fix i2p port range --- 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; }