diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java index 10fb19c1e..953e506ee 100644 --- a/htroot/SettingsAck_p.java +++ b/htroot/SettingsAck_p.java @@ -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