Changeset 10910


Ignore:
Timestamp:
Jun 30, 2010, 6:07:06 AM (10 years ago)
Author:
charles
Message:

(2.0x) backport r10900 to 2.0x to fix a port forwarding issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/libtransmission/upnp.c

    r10460 r10910  
    7878**/
    7979
     80enum
     81{
     82  UPNP_IGD_NONE = 0,
     83  UPNP_IGD_VALID_CONNECTED = 1,
     84  UPNP_IGD_VALID_NOT_CONNECTED = 2,
     85  UPNP_IGD_INVALID = 3
     86};
     87
    8088int
    8189tr_upnpPulse( tr_upnp * handle,
     
    99107        errno = 0;
    100108        if( UPNP_GetValidIGD( devlist, &handle->urls, &handle->data,
    101                              handle->lanaddr, sizeof( handle->lanaddr ) ) )
     109                             handle->lanaddr, sizeof( handle->lanaddr ) ) == UPNP_IGD_VALID_CONNECTED )
    102110        {
    103111            tr_ninf( getKey( ), _(
Note: See TracChangeset for help on using the changeset viewer.