Ignore:
Timestamp:
Jul 22, 2011, 5:47:08 PM (10 years ago)
Author:
jordan
Message:

(trunk libT) "DHT and blocklists are incompatible" -- revert r12544.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-udp.c

    r12544 r12575  
    193193    struct sockaddr_storage from;
    194194    tr_session *ss = sv;
    195     tr_address addr;
    196     tr_port port;
    197195
    198196    assert(tr_isSession(sv));
     
    202200    rc = recvfrom(s, buf, 4096 - 1, 0,
    203201                  (struct sockaddr*)&from, &fromlen);
    204 
    205     /* don't process messages from blocked addresses */
    206     if( !tr_address_from_sockaddr_storage( &addr, &port, &from )
    207             || tr_sessionIsAddressBlocked( ss, &addr ) )
    208         return;
    209202
    210203    /* Since most packets we receive here are µTP, make quick inline
Note: See TracChangeset for help on using the changeset viewer.