Set local address to listener address, closes #337 (reverse-merged from commit 57793e93f0
)
This commit is contained in:
parent
8a70af5293
commit
afc387ce0d
@ -205,7 +205,6 @@ public final class UserConnection implements ProxiedPlayer
|
||||
.channel( NioSocketChannel.class )
|
||||
.group( BungeeCord.getInstance().eventLoops )
|
||||
.handler( initializer )
|
||||
.localAddress( getPendingConnection().getListener().getHost() )
|
||||
.option( ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000 ) // TODO: Configurable
|
||||
.remoteAddress( target.getAddress() )
|
||||
.connect().addListener( listener );
|
||||
|
Loading…
Reference in New Issue
Block a user