Changeset 10171
- Timestamp:
- Feb 11, 2010, 2:28:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/port-forwarding.c
r9979 r10171 176 176 tr_ninf( getKey( ), "%s", _( "Stopped" ) ); 177 177 natPulse( s, FALSE ); 178 178 179 tr_natpmpClose( s->natpmp ); 179 180 s->natpmp = NULL; 181 s->natpmpStatus = TR_PORT_UNMAPPED; 182 180 183 tr_upnpClose( s->upnp ); 181 184 s->upnp = NULL; 185 s->upnpStatus = TR_PORT_UNMAPPED; 186 182 187 stop_timer( s ); 183 188 } … … 218 223 if( s->isEnabled ) 219 224 { 220 stop_ timer( s );225 stop_forwarding( s ); 221 226 start_timer( s ); 222 227 }
Note: See TracChangeset
for help on using the changeset viewer.