fixes to default features in session constructor
This commit is contained in:
parent
971f437b41
commit
3f6a4f846e
|
@ -150,7 +150,11 @@ namespace libtorrent
|
|||
if (flags & start_default_features)
|
||||
{
|
||||
start_upnp();
|
||||
start_upnp();
|
||||
start_natpmp();
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
start_dht();
|
||||
#endif
|
||||
start_lsd();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -185,6 +189,10 @@ namespace libtorrent
|
|||
{
|
||||
start_upnp();
|
||||
start_natpmp();
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
start_dht();
|
||||
#endif
|
||||
start_lsd();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue