* Commited the DHT changes from dht-pex-static_map.diff with changes so it works with the modified static_map implementation.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1138 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-03-03 11:52:01 +00:00
parent 806941b6c7
commit db8f217569
+2
View File
@@ -300,6 +300,8 @@ DhtManager::dht_statistics() {
dhtStats.insert_key("queries_received", stats.queries_received);
dhtStats.insert_key("queries_sent", stats.queries_sent);
dhtStats.insert_key("replies_received", stats.replies_received);
dhtStats.insert_key("errors_received", stats.errors_received);
dhtStats.insert_key("errors_caught", stats.errors_caught);
dhtStats.insert_key("bytes_read", stats.down_rate.total());
dhtStats.insert_key("bytes_written", stats.up_rate.total());
dhtStats.insert_key("nodes", stats.num_nodes);