if ( test_type != null ){
if ( test_type.intValue() == TEST_TYPE_BT ){
TCPNetworkManager tcp_man = TCPNetworkManager.getSingleton();
InetSocketAddress adjusted_originator = adjustLoopback( originator );
boolean test = adjusted_originator.getAddress().isLoopbackAddress();
if ( test ||
( tcp_man.isTCPListenerEnabled() &&
tcp_man.getTCPListeningPortNumber() == ddb.getLocalContact().getAddress().getPort() &&
SystemTime.getCurrentTime() - tcp_man.getLastIncomingNonLocalConnectionTime() <= 24*60*60*1000 )){
byte[] their_hash = (byte[])request.get( "h" );
if ( their_hash != null ){