mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
Update SettingsAck_p.java
type in SwitchboardConstants.SERVER_PUBLICPORT
This commit is contained in:
parent
e0fd3d4f10
commit
4219d729c3
|
@ -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…
Reference in New Issue
Block a user