diff --git a/libtorrent/src/kademlia/dht_get.cpp b/libtorrent/src/kademlia/dht_get.cpp index ca45a83c..307fa6bd 100644 --- a/libtorrent/src/kademlia/dht_get.cpp +++ b/libtorrent/src/kademlia/dht_get.cpp @@ -85,7 +85,7 @@ void dht_get_observer::reply(msg const& m) } // look for peers - lazy_entry const* n = r->dict_find_list("values"); + lazy_entry const* n = r->dict_find_list("data"); if (n) { #ifdef TORRENT_DHT_VERBOSE_LOGGING diff --git a/libtorrent/src/kademlia/node.cpp b/libtorrent/src/kademlia/node.cpp index 2b25527a..9a322108 100644 --- a/libtorrent/src/kademlia/node.cpp +++ b/libtorrent/src/kademlia/node.cpp @@ -1404,8 +1404,8 @@ void node_impl::incoming_request(msg const& m, entry& e) if (i != m_storage_table.end()) { hasData = true; - reply["values"] = entry::list_type(); - entry::list_type &values = reply["values"].list(); + reply["data"] = entry::list_type(); + entry::list_type &values = reply["data"].list(); dht_storage_list_t const& lsto = i->second; for (dht_storage_list_t::const_iterator j = lsto.begin()