Mercurial > hg > Database > Alice
changeset 562:1cf2697d51a6 dispose
add j3dcore.jar to lib
author | Nozomi |
---|---|
date | Wed, 25 Nov 2015 19:24:35 +0900 |
parents | f1777341c5a2 |
children | 9e35b677932b |
files | lib/j3dcore.jar lib/j3dutils.jar lib/vecmath.jar src/main/java/alice/daemon/ConnectionInfo.java src/main/java/alice/topology/node/StartTopologyNode.java |
diffstat | 5 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/daemon/ConnectionInfo.java Tue Nov 24 01:26:41 2015 +0900 +++ b/src/main/java/alice/daemon/ConnectionInfo.java Wed Nov 25 19:24:35 2015 +0900 @@ -15,7 +15,7 @@ public ConnectionInfo(String name, Socket socket){ this.nodeName = name; - this.hostname = socket.getInetAddress().getHostName(); + this.hostname = socket.getInetAddress().getHostAddress(); this.addr = socket.getInetAddress().getHostAddress(); this.port = socket.getPort(); }
--- a/src/main/java/alice/topology/node/StartTopologyNode.java Tue Nov 24 01:26:41 2015 +0900 +++ b/src/main/java/alice/topology/node/StartTopologyNode.java Wed Nov 25 19:24:35 2015 +0900 @@ -23,7 +23,7 @@ DataSegment.connect("manager", "manager", conf.getManagerHostName(), conf.getManagerPort()); String localHostName = null; try { - localHostName = InetAddress.getLocalHost().getHostName(); + localHostName = InetAddress.getLocalHost().getHostAddress(); } catch (UnknownHostException e) { e.printStackTrace(); }