prestium: fix i2p port range

This commit is contained in:
tobtoht 2023-03-04 20:18:23 +01:00
parent 3d7c88e10f
commit ecfdb06e30
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View 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;
}