This commit is contained in:
Arvid Norberg 2011-01-08 09:04:05 +00:00
parent b49999b76e
commit dccd029069
1 changed files with 1 additions and 0 deletions

View File

@ -1355,6 +1355,7 @@ int test_main()
// test kademlia routing table
dht_settings s;
s.restrict_routing_ips = false;
node_id id = to_hash("3123456789abcdef01232456789abcdef0123456");
dht::routing_table table(id, 10, s);
table.node_seen(id, udp::endpoint(address_v4::any(), rand()));