(trunk libT) #2982 "changing port number doesn't actually change until program restart" -- fixed in trunk for 1.90

This commit is contained in:
Charles Kerr 2010-02-12 04:57:40 +00:00
parent 8aa62240f8
commit a694ac185c
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ tr_sharedPortChanged( tr_session * session )
if( s->isEnabled )
{
stop_forwarding( s );
stop_timer( s );
natPulse( s, FALSE );
start_timer( s );
}
}