Ignore:
Timestamp:
May 29, 2008, 1:39:39 PM (14 years ago)
Author:
charles
Message:

#972: Update to the 2008/05/29 snapshot of libnatpmp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r5900 r5970  
    127127        logVal( "readnatpmpresponseorretry", val );
    128128        if( val >= 0 ) {
    129             tr_ninf( getKey(), _( "Found public address \"%s\"" ), inet_ntoa( response.publicaddress.addr ) );
     129            tr_ninf( getKey(), _( "Found public address \"%s\"" ), inet_ntoa( response.pnu.publicaddress.addr ) );
    130130            nat->state = TR_NATPMP_IDLE;
    131131        } else if( val != NATPMP_TRYAGAIN ) {
     
    189189            nat->isMapped = 1;
    190190            nat->renewTime = time( NULL ) + LIFETIME_SECS;
    191             nat->port = resp.newportmapping.privateport;
     191            nat->port = resp.pnu.newportmapping.privateport;
    192192            tr_ninf( getKey(), _( "Port %d forwarded successfully" ), nat->port );
    193193        } else if( val != NATPMP_TRYAGAIN ) {
Note: See TracChangeset for help on using the changeset viewer.