Transport: Remove mtn port from invalid list

This commit is contained in:
zzz
2022-06-10 16:03:48 -04:00
parent 386b259666
commit ffc4520382

View File

@@ -316,7 +316,6 @@ public abstract class TransportUtil {
(!(port >= 6665 && port <= 6669)) && // IRC and alternates
port != 6697 && // IRC+TLS
(!(port >= 7650 && port <= 7668)) && // standard I2P range
port != 8998 && // mtn
port != 9001 && // Tor
port != 9030 && // Tor
port != 9050 && // Tor
@@ -333,7 +332,7 @@ public abstract class TransportUtil {
*/
public static void logInvalidPort(Log log, String transportStyle, int port) {
log.error("Specified " + transportStyle + " port " + port + " is not valid, selecting a new port");
log.error("Invalid ports are: 0-1023, 1719, 1720, 1900, 2049, 2827, 3659, 4045, 4444, 4445, 5060, 5061, 6000, 6665-6669, 6697, 7650-7668, 8998, 9001, 9030, 9050, 9100, 9150, 31000, 32000, 65536+");
log.error("Invalid ports are: 0-1023, 1719, 1720, 1900, 2049, 2827, 3659, 4045, 4444, 4445, 5060, 5061, 6000, 6665-6669, 6697, 7650-7668, 9001, 9030, 9050, 9100, 9150, 31000, 32000, 65536+");
}
/**