Mercurial > hg > Applications > AliceVNC
changeset 25:6cb444e8e646
bug fix
author | sugi |
---|---|
date | Sat, 08 Nov 2014 11:04:43 +0900 |
parents | 36a9a7de314d |
children | 18dd339b98ea |
files | src/main/java/jp/ac/u_ryukyu/alicevnc/NegotiateVNCServer.java src/main/java/jp/ac/u_ryukyu/alicevnc/SendChangeRequest.java |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/alicevnc/NegotiateVNCServer.java Sat Nov 08 10:57:01 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/NegotiateVNCServer.java Sat Nov 08 11:04:43 2014 +0900 @@ -36,7 +36,7 @@ currentServerInfo.name = "node0"; currentServerInfo.changeServer = conf.getAllowChange(); ArrayList<String> list = new ArrayList<String>(); - list.add("local"); +// list.add("local"); currentServerInfo.route = list; ods.put("changeRequest", currentServerInfo); new ReceiveServerInitMessage();
--- a/src/main/java/jp/ac/u_ryukyu/alicevnc/SendChangeRequest.java Sat Nov 08 10:57:01 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/SendChangeRequest.java Sat Nov 08 11:04:43 2014 +0900 @@ -1,5 +1,6 @@ package jp.ac.u_ryukyu.alicevnc; +import java.util.ArrayList; import java.util.List; import jp.ac.u_ryukyu.alicevnc.ChangeRequestMessage.MessageType; @@ -31,6 +32,7 @@ ChangeRequestMessage mes = new ChangeRequestMessage(MessageType.ChangeRequest); mes.changeServer = config.getAllowChange(); + mes.route = new ArrayList<String>(); mes.name = hostname; String address = "local";