forked from premiere/premiere-libtorrent
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()));
|
||||
}
|
||||
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");
|
||||
|
|
Loading…
Reference in New Issue