From 423c3eab845aecca41728c011869c4d9f679cd06 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 1 May 2010 19:16:52 +0000 Subject: [PATCH] #3060 prefer peers from local discovery over those from a tracker --- libtransmission/transmission.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libtransmission/transmission.h b/libtransmission/transmission.h index fa7e25a1c..eb7a0bba7 100644 --- a/libtransmission/transmission.h +++ b/libtransmission/transmission.h @@ -1652,13 +1652,13 @@ tr_torrent_activity; enum { - TR_PEER_FROM_INCOMING = 0, /* connections made to the listening port */ - TR_PEER_FROM_TRACKER = 1, /* peers received from a tracker */ - TR_PEER_FROM_LDS = 2, /* peers discovered by local announcements */ - TR_PEER_FROM_DHT = 3, /* peers learnt from the DHT */ - TR_PEER_FROM_RESUME = 4, /* peers read from the .resume file */ - TR_PEER_FROM_PEX = 5, /* peers discovered via PEX */ - TR_PEER_FROM_LTEP = 6, /* peer address provided in an LTEP handshake */ + TR_PEER_FROM_INCOMING = 0, /* connections made to the listening port */ + TR_PEER_FROM_LDS, /* peers discovered by local announcements */ + TR_PEER_FROM_TRACKER, /* peers received from a tracker */ + TR_PEER_FROM_DHT, /* peers learnt from the DHT */ + TR_PEER_FROM_RESUME, /* peers read from the .resume file */ + TR_PEER_FROM_PEX, /* peers discovered via PEX */ + TR_PEER_FROM_LTEP, /* peer address provided in an LTEP handshake */ TR_PEER_FROM__MAX };