Write server name in ServerIP subchannel response.

Behaves similarly to the UUIDOther implementation.
This commit is contained in:
vemacs 2014-05-03 13:15:50 -06:00 committed by md_5
parent 4dce37cd13
commit 31bd836203

View File

@ -357,6 +357,7 @@ public class DownstreamBridge extends PacketHandler
if ( info != null ) if ( info != null )
{ {
out.writeUTF( "ServerIP" ); out.writeUTF( "ServerIP" );
out.writeUTF( info.getName() );
out.writeUTF( info.getAddress().getAddress().getHostAddress() ); out.writeUTF( info.getAddress().getAddress().getHostAddress() );
out.writeShort( info.getAddress().getPort() ); out.writeShort( info.getAddress().getPort() );
} }