mirror of
git://erdgeist.org/opentracker
synced 2025-02-04 19:16:23 +00:00
Reverse logic... do only sync those NOT coming from multi cast
This commit is contained in:
parent
c3003dfd6f
commit
01408992b7
@ -95,9 +95,9 @@ size_t add_peer_to_torrent_and_return_peers( ot_hash hash, ot_peer *peer, PROTO_
|
|||||||
|
|
||||||
#ifdef WANT_SYNC_LIVE
|
#ifdef WANT_SYNC_LIVE
|
||||||
if( proto == FLAG_MCA )
|
if( proto == FLAG_MCA )
|
||||||
livesync_tell( hash, peer );
|
|
||||||
else
|
|
||||||
OT_PEERFLAG( peer ) |= PEER_FLAG_FROM_SYNC;
|
OT_PEERFLAG( peer ) |= PEER_FLAG_FROM_SYNC;
|
||||||
|
else
|
||||||
|
livesync_tell( hash, peer );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
torrent->peer_list->peer_count++;
|
torrent->peer_list->peer_count++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user