client_test fix to start upnp, natpmp, lsd and dht

This commit is contained in:
Arvid Norberg 2009-11-14 18:55:27 +00:00
parent 3fb51f590e
commit 66882b149c
1 changed files with 8 additions and 0 deletions

View File

@ -794,8 +794,16 @@ int main(int argc, char* argv[])
{
ses.start_dht(bdecode(in.begin(), in.end()));
}
else
{
ses.start_dht();
}
#endif
ses.start_lsd();
ses.start_upnp();
ses.start_natpmp();
#ifndef TORRENT_DISABLE_GEO_IP
ses.load_asnum_db("GeoIPASNum.dat");
ses.load_country_db("GeoIP.dat");