Update SettingsAck_p.java

type in SwitchboardConstants.SERVER_PUBLICPORT
This commit is contained in:
Burkhard 2022-02-11 08:04:55 +01:00 committed by GitHub
parent e0fd3d4f10
commit 4219d729c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ public class SettingsAck_p {
if(pport < 65535 && pport >= 0) {
serverCore.usePublicPort = true;
sb.peers.mySeed().setPort(pport);
env.setConfig(SwitchboardConstants.SERVER_PUBLIC_PORT, publicPort);
env.setConfig(SwitchboardConstants.SERVER_PUBLICPORT, publicPort);
}
} catch (NumberFormatException e) {
// noop