Browse Source

Complete utorrent-compatible flags support.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
53c1846757
  1. 6
      src/properties/peerlistwidget.cpp

6
src/properties/peerlistwidget.cpp

@ -496,10 +496,14 @@ QString PeerListWidget::getFlags(const peer_info& peer) @@ -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…
Cancel
Save