Update SettingsAck_p.java

type in SwitchboardConstants.SERVER_PUBLICPORT
pull/440/head
Burkhard 3 years ago committed by GitHub
parent e0fd3d4f10
commit 4219d729c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save