mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
fix lt dht announce bug
This commit is contained in:
parent
7412a0052b
commit
adf36fac1d
1 changed files with 3 additions and 3 deletions
|
@ -972,12 +972,12 @@ namespace libtorrent { namespace dht
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case messages::announce_peer:
|
case messages::announce_peer:
|
||||||
a["port"] = m_settings.service_port;
|
a["port"] = m.port;
|
||||||
a["info_hash"] = std::string(m.info_hash.begin(), m.info_hash.end());
|
a["info_hash"] = std::string(m.info_hash.begin(), m.info_hash.end());
|
||||||
a["token"] = m.write_token;
|
a["token"] = m.write_token;
|
||||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||||
TORRENT_LOG(dht_tracker) << " port: "
|
TORRENT_LOG(dht_tracker)
|
||||||
<< m_settings.service_port
|
<< " port: " << m.port
|
||||||
<< " info_hash: " << boost::lexical_cast<std::string>(m.info_hash);
|
<< " info_hash: " << boost::lexical_cast<std::string>(m.info_hash);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue