mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-13 05:41:17 +00:00
Complete utorrent-compatible flags support.
This commit is contained in:
parent
17d3a51285
commit
53c1846757
@ -496,10 +496,14 @@ QString PeerListWidget::getFlags(const peer_info& peer)
|
||||
if (peer.source & peer_info::dht)
|
||||
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)
|
||||
flags += "E ";
|
||||
|
||||
//e = Peer is using Protocol Encryption (handshake)
|
||||
if (peer.flags & peer_info::plaintext_encrypted)
|
||||
flags += "e ";
|
||||
|
||||
#if LIBTORRENT_VERSION_NUM > 001500
|
||||
//P = Peer is using uTorrent uTP
|
||||
if (peer.connection_type & peer_info::bittorrent_utp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user