Network autoconfig now uses eth0 or default outgoing ip route.

This commit is contained in:
MagicBot committed 2023-06-07 14:11:54 -04:00
1 parent 61e4a4aed4
commit 48aef2ef01
4 files changed
+20 -17

No files matched your search

@@ -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());
}