forked from premiere/premiere-libtorrent
fix tracker connection bind issue for IPv6 trackers
This commit is contained in:
parent
a9085db760
commit
a67eb2f059
|
@ -1,4 +1,5 @@
|
|||
|
||||
* fix tracker connection bind issue for IPv6 trackers
|
||||
* fix error handling of some merkle torrents
|
||||
* fix error handling of unsupported hard-links
|
||||
|
||||
|
|
|
@ -1332,7 +1332,11 @@ namespace aux {
|
|||
}
|
||||
#endif
|
||||
|
||||
if (!req.bind_ip) req.bind_ip = m_listen_interface.address();
|
||||
if (!req.bind_ip
|
||||
&& m_listen_interface.address() != address_v4::any())
|
||||
{
|
||||
req.bind_ip = m_listen_interface.address();
|
||||
}
|
||||
m_tracker_manager.queue_request(get_io_service(), req, c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue