This commit is contained in:
Arvid Norberg 2007-09-09 22:45:31 +00:00
parent 4269451bbe
commit 35247e5912
1 changed files with 3 additions and 3 deletions

View File

@ -710,16 +710,16 @@ namespace libtorrent
#ifndef TORRENT_DISABLE_DHT #ifndef TORRENT_DISABLE_DHT
// indicate that we support the DHT messages // indicate that we support the DHT messages
*(i.begin + 7) = 0x01; *(i.begin + 7) |= 0x01;
#endif #endif
#ifndef TORRENT_DISABLE_EXTENSIONS #ifndef TORRENT_DISABLE_EXTENSIONS
// we support extensions // we support extensions
*(i.begin + 5) = 0x10; *(i.begin + 5) |= 0x10;
#endif #endif
// we support FAST extension // we support FAST extension
*(i.begin + 7) = 0x04; *(i.begin + 7) |= 0x04;
i.begin += 8; i.begin += 8;