Ignore:
Timestamp:
Jan 28, 2007, 8:54:19 AM (15 years ago)
Author:
joshe
Message:

When sending a nat-pmp packet, treat EHOSTDOWN as a temporary error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r1434 r1443  
    670670
    671671    res = tr_netSend( fd, buf, sizeof( buf ) );
     672    if( TR_NET_CLOSE & res && EHOSTUNREACH == errno )
     673    {
     674        res = TR_NET_BLOCK;
     675    }
    672676    /* XXX is it all right to assume the entire thing is written? */
    673677
Note: See TracChangeset for help on using the changeset viewer.