forked from premiere/premiere-libtorrent
include the IP we actually connected to when reporting the IPs of the tracker
This commit is contained in:
parent
fc0bd8066b
commit
40e1bea451
|
@ -519,6 +519,8 @@ namespace libtorrent
|
|||
std::list<address> ip_list;
|
||||
if (m_tracker_connection)
|
||||
{
|
||||
error_code ec;
|
||||
ip_list.push_back(m_tracker_connection->socket().remote_endpoint(ec).address());
|
||||
std::list<tcp::endpoint> const& epts = m_tracker_connection->endpoints();
|
||||
for (std::list<tcp::endpoint>::const_iterator i = epts.begin()
|
||||
, end(epts.end()); i != end; ++i)
|
||||
|
|
Loading…
Reference in New Issue