forked from premiere/premiere-libtorrent
fixed DHT assert
This commit is contained in:
parent
c3e1b01e8d
commit
2bd49c4b56
|
@ -88,7 +88,9 @@ boost::pool<>& traversal_algorithm::allocator() const
|
||||||
|
|
||||||
void traversal_algorithm::traverse(node_id const& id, udp::endpoint addr)
|
void traversal_algorithm::traverse(node_id const& id, udp::endpoint addr)
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(!id.is_all_zeros());
|
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||||
|
TORRENT_LOG(traversal) << "node returned a list which included a node with id 0";
|
||||||
|
#endif
|
||||||
add_entry(id, addr, 0);
|
add_entry(id, addr, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue