added optimistic unchoke flag to client_test
This commit is contained in:
parent
1399b623bc
commit
ee01d7bb11
|
@ -331,6 +331,7 @@ void print_peer_info(std::ostream& out, std::vector<libtorrent::peer_info> const
|
||||||
<< ((i->flags & peer_info::local_connection)?'l':'r')
|
<< ((i->flags & peer_info::local_connection)?'l':'r')
|
||||||
<< ((i->flags & peer_info::seed)?'s':'.')
|
<< ((i->flags & peer_info::seed)?'s':'.')
|
||||||
<< ((i->flags & peer_info::on_parole)?'p':'.')
|
<< ((i->flags & peer_info::on_parole)?'p':'.')
|
||||||
|
<< ((i->flags & peer_info::optimistic_unchoke)?'O':'.')
|
||||||
#ifndef TORRENT_DISABLE_ENCRYPTION
|
#ifndef TORRENT_DISABLE_ENCRYPTION
|
||||||
<< ((i->flags & peer_info::rc4_encrypted)?'E':
|
<< ((i->flags & peer_info::rc4_encrypted)?'E':
|
||||||
(i->flags & peer_info::plaintext_encrypted)?'e':'.')
|
(i->flags & peer_info::plaintext_encrypted)?'e':'.')
|
||||||
|
|
Loading…
Reference in New Issue