mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 22:03:27 -07:00
Complete utorrent-compatible flags support.
This commit is contained in:
parent
17d3a51285
commit
53c1846757
1 changed files with 5 additions and 1 deletions
|
@ -496,10 +496,14 @@ QString PeerListWidget::getFlags(const peer_info& peer)
|
||||||
if (peer.source & peer_info::dht)
|
if (peer.source & peer_info::dht)
|
||||||
flags += "H ";
|
flags += "H ";
|
||||||
|
|
||||||
//E = Peer is using Protocol Encryption (cannot distinguish between handshake and all traffic)
|
//E = Peer is using Protocol Encryption (all traffic)
|
||||||
if (peer.flags & peer_info::rc4_encrypted)
|
if (peer.flags & peer_info::rc4_encrypted)
|
||||||
flags += "E ";
|
flags += "E ";
|
||||||
|
|
||||||
|
//e = Peer is using Protocol Encryption (handshake)
|
||||||
|
if (peer.flags & peer_info::plaintext_encrypted)
|
||||||
|
flags += "e ";
|
||||||
|
|
||||||
#if LIBTORRENT_VERSION_NUM > 001500
|
#if LIBTORRENT_VERSION_NUM > 001500
|
||||||
//P = Peer is using uTorrent uTP
|
//P = Peer is using uTorrent uTP
|
||||||
if (peer.connection_type & peer_info::bittorrent_utp)
|
if (peer.connection_type & peer_info::bittorrent_utp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue