res = tester.testOutbound( bind_ip, 0 );
}else{
UPnPMapping new_mapping = null;
if ( upnp_map ){
PluginInterface pi_upnp = core.getPluginManager().getPluginInterfaceByClass( UPnPPlugin.class );
if( pi_upnp != null ) {
UPnPPlugin upnp = (UPnPPlugin)pi_upnp.getPlugin();
UPnPMapping mapping = upnp.getMapping( type != PT_UDP , port );
if ( mapping == null ) {
new_mapping = mapping = upnp.addMapping( "NAT Tester", type != PT_UDP, port, true );