client_test fix to start upnp, natpmp, lsd and dht
This commit is contained in:
parent
3fb51f590e
commit
66882b149c
|
@ -794,8 +794,16 @@ int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
ses.start_dht(bdecode(in.begin(), in.end()));
|
ses.start_dht(bdecode(in.begin(), in.end()));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ses.start_dht();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
ses.start_lsd();
|
||||||
|
ses.start_upnp();
|
||||||
|
ses.start_natpmp();
|
||||||
|
|
||||||
#ifndef TORRENT_DISABLE_GEO_IP
|
#ifndef TORRENT_DISABLE_GEO_IP
|
||||||
ses.load_asnum_db("GeoIPASNum.dat");
|
ses.load_asnum_db("GeoIPASNum.dat");
|
||||||
ses.load_country_db("GeoIP.dat");
|
ses.load_country_db("GeoIP.dat");
|
||||||
|
|
Loading…
Reference in New Issue