Network autoconfig now uses eth0 or default outgoing ip route.

This commit is contained in:
2023-06-07 14:11:54 -04:00
parent 61e4a4aed4
commit 48aef2ef01
4 changed files with 20 additions and 17 deletions
@@ -36,7 +36,7 @@ public class GameServerIPResponseMsg extends ClientNetMsg {
*/
public GameServerIPResponseMsg( ) {
super(Protocol.GAMESERVERIPRESPONSE);
this.ip = ConfigManager.MB_PUBLIC_ADDR.getValue();
this.ip = ConfigManager.MB_BIND_ADDR.getValue();
this.port = Integer.parseInt(ConfigManager.MB_WORLD_PORT.getValue());
}