From e2199cc5046fc3e7cf0775948520258e844f6d59 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 3 Dec 2008 20:39:23 +0000 Subject: [PATCH] New peer flag to see, whether peer came from announce or sync --- trackerlogic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/trackerlogic.h b/trackerlogic.h index 0b73d5e..81bd97a 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -52,6 +52,7 @@ typedef struct { static const uint8_t PEER_FLAG_SEEDING = 0x80; static const uint8_t PEER_FLAG_COMPLETED = 0x40; static const uint8_t PEER_FLAG_STOPPED = 0x20; +static const uint8_t PEER_FLAG_FROM_SYNC = 0x10; static const uint8_t PEER_FLAG_LEECHING = 0x00; #define OT_SETIP( peer, ip ) memmove((peer),(ip),4);