fixed #151
This commit is contained in:
parent
4269451bbe
commit
35247e5912
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue