Browse Source

Logging when network autoconfig occurs

pull/3/head
MagicBot 3 years ago
parent
commit
24057e6412
  1. 4
      src/engine/server/login/LoginServer.java

4
src/engine/server/login/LoginServer.java

@ -275,8 +275,8 @@ public class LoginServer { @@ -275,8 +275,8 @@ public class LoginServer {
if (ConfigManager.MB_PUBLIC_ADDR.getValue().equals("0.0.0.0")) {
// Autoconfigure IP address for use in worldserver response
// message.
// .
Logger.info("AUTOCONFIG PUBLIC IP ADDRESS");
URL whatismyip = new URL("http://checkip.amazonaws.com");
BufferedReader in = new BufferedReader(new InputStreamReader(
whatismyip.openStream()));

Loading…
Cancel
Save