merged i2p fix from RC_0_16
This commit is contained in:
@@ -586,7 +586,9 @@ void print_peer_info(std::string& out, std::vector<libtorrent::peer_info> const&
|
||||
if (print_ip)
|
||||
{
|
||||
snprintf(str, sizeof(str), "%-30s %-22s", (::print_endpoint(i->ip) +
|
||||
(i->connection_type == peer_info::bittorrent_utp ? " [uTP]" : "")).c_str()
|
||||
(i->flags & peer_info::utp_socket ? " [uTP]" : "") +
|
||||
(i->flags & peer_info::i2p_socket ? " [i2p]" : "")
|
||||
).c_str()
|
||||
, ::print_endpoint(i->local_endpoint).c_str());
|
||||
out += str;
|
||||
}
|
||||
|
Reference in New Issue
Block a user