fixes to default features in session constructor

This commit is contained in:
Arvid Norberg
2008-10-24 08:11:17 +00:00
parent 971f437b41
commit 3f6a4f846e

View File

@@ -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();
}
}