fix TunnelClient host may null problem. #1060

pull/1413/head
hengyunabc 5 years ago
parent 0d84baaf05
commit 45cc29694f

@ -101,7 +101,7 @@ public class TunnelClient {
Bootstrap bs = new Bootstrap();
bs.group(eventLoopGroup).channel(NioSocketChannel.class).remoteAddress(agentRegisterURI.getHost(), port)
bs.group(eventLoopGroup).channel(NioSocketChannel.class).remoteAddress(host, port)
.handler(new ChannelInitializer<SocketChannel>() {
@Override
protected void initChannel(SocketChannel ch) {

Loading…
Cancel
Save