1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

Fix stupid, stupid mistake preventing frontend from seeing changed public port.

This commit is contained in:
Josh Elsasser 2007-04-17 02:35:14 +00:00
parent ec90238d52
commit 19c4640dbd

View file

@ -256,6 +256,11 @@ tr_natpmpPulse( tr_natpmp_t * pmp, int * publicPort )
mcastpulse( pmp );
}
if( NULL != publicPort )
{
*publicPort = -1;
}
if( pmp->active || PMP_STATE_DELETING == pmp->state )
{
switch( pmp->state )
@ -419,11 +424,6 @@ tr_natpmpPulse( tr_natpmp_t * pmp, int * publicPort )
break;
}
}
if( NULL != publicPort )
{
*publicPort = -1;
}
}
void