mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
hconnection clienthostandport fix
This commit is contained in:
parent
0e3630e13b
commit
54b4b88372
@ -265,7 +265,7 @@ public class HConnection {
|
|||||||
|
|
||||||
handler.act(buffer);
|
handler.act(buffer);
|
||||||
if (!datastream[0] && handler.isDataStream()) {
|
if (!datastream[0] && handler.isDataStream()) {
|
||||||
clientHostAndPort = client.getInetAddress().getHostAddress() + ":" + client.getPort();
|
clientHostAndPort = client.getLocalAddress().getHostAddress() + ":" + client.getPort();
|
||||||
if (DEBUG) System.out.println(clientHostAndPort);
|
if (DEBUG) System.out.println(clientHostAndPort);
|
||||||
datastream[0] = true;
|
datastream[0] = true;
|
||||||
setState(State.CONNECTED);
|
setState(State.CONNECTED);
|
||||||
|
Loading…
Reference in New Issue
Block a user