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:
parent
ec90238d52
commit
19c4640dbd
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue