Ignore:
Timestamp:
Apr 15, 2007, 7:36:24 AM (15 years ago)
Author:
joshe
Message:

Don't try port mapping if binding the port fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/upnp.c

    r1693 r1720  
    237237    tr_dbg( "upnp port changed from %i to %i", upnp->port, port );
    238238    upnp->port = port;
     239}
     240
     241void
     242tr_upnpRemoveForwarding( tr_upnp_t * upnp )
     243{
     244    tr_dbg( "upnp port unset" );
     245    upnp->port = 0;
    239246}
    240247
Note: See TracChangeset for help on using the changeset viewer.