]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
prestium: fix i2p port range
authortobtoht <tob@featherwallet.org>
Sat, 4 Mar 2023 19:18:23 +0000 (20:18 +0100)
committertobtoht <tob@featherwallet.org>
Sat, 4 Mar 2023 19:18:23 +0000 (20:18 +0100)
src/utils/os/Prestium.cpp

index 4cfe081a6923c46e27a7166532aa5b9f3e624037..5ce082a7227cd86716f9a64c717e7172a034716c 100644 (file)
@@ -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;
     }