Ignore:
Timestamp:
Feb 18, 2011, 12:41:06 AM (11 years ago)
Author:
jordan
Message:

if we successfully finish a handshake using uTP, mark the peer as supporting uTP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r11933 r11945  
    671671    return isSeed;
    672672}
     673
     674void
     675tr_peerMgrSetUtpSupported( tr_torrent * tor, const tr_address * addr )
     676{
     677    struct peer_atom * atom = getExistingAtom( tor->torrentPeers, addr );
     678
     679    if( atom )
     680        atom->flags |= ADDED_F_UTP_FLAGS;
     681}
     682
    673683
    674684/**
Note: See TracChangeset for help on using the changeset viewer.