actually fix the issue with the second tracker announce with port 0

This commit is contained in:
arvidn 2018-11-11 20:36:06 +01:00 committed by Arvid Norberg
parent 2edb86c543
commit a233d3cc28
1 changed files with 3 additions and 0 deletions

View File

@ -3722,6 +3722,9 @@ namespace {
req.private_torrent = m_torrent_file->priv();
req.second_announce = true;
#ifdef TORRENT_USE_OPENSSL
req.ssl_ctx = NULL;
#endif
// tell the tracker to bind to the opposite protocol type
req.bind_ip = tracker_ip.is_v4()