Changeset 7830 in josm for trunk/src/org
- Timestamp:
- 2014-12-19T13:19:16+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControl.java
r7826 r7830 37 37 static final int protocolMajorVersion = 1; 38 38 static final int protocolMinorVersion = 7; 39 40 private static final String LOCALHOST = "127.0.0.1";41 39 42 40 /** … … 84 82 */ 85 83 public static InetAddress getInetAddress() throws UnknownHostException { 86 return InetAddress.getByName(Main.pref.get("remote.control.host", LOCALHOST)); 84 // Return an address to the loopback interface by default 85 return InetAddress.getByName(Main.pref.get("remote.control.host", null)); 87 86 } 88 87 }
Note:
See TracChangeset
for help on using the changeset viewer.