Use int for ports instead of short to support full port-range

This commit is contained in:
Lukas Rieger (Blue) 2022-07-31 22:34:18 +02:00
parent 00b01cd0da
commit bc8e52abbf
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public class WebserverConfig {
private String ip = "0.0.0.0";
private short port = 8100;
private int port = 8100;
private int maxConnectionCount = 100;
@ -45,7 +45,7 @@ public class WebserverConfig {
}
}
public short getPort() {
public int getPort() {
return port;
}