Changeset 7851


Ignore:
Timestamp:
Feb 8, 2009, 10:52:47 PM (12 years ago)
Author:
jhujhiti
Message:

(trunk libT) suppress ipv6 EHOSTUNREACH as well as ENETUNREACH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r7849 r7851  
    515515        int tmperrno;
    516516        tmperrno = sockerrno;
    517         if( tmperrno != ENETUNREACH || addr->type == TR_AF_INET )
     517        if( ( tmperrno != ENETUNREACH && tmperrno != EHOSTUNREACH )
     518                || addr->type == TR_AF_INET )
    518519            tr_err( _( "Couldn't connect socket %d to %s, port %d (errno %d - %s)" ),
    519520                    s, tr_ntop_non_ts( addr ), (int)port, tmperrno,
Note: See TracChangeset for help on using the changeset viewer.