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
1 changed files with 9 additions and 1 deletions

View File

@ -150,7 +150,11 @@ namespace libtorrent
if (flags & start_default_features) if (flags & start_default_features)
{ {
start_upnp(); start_upnp();
start_upnp(); start_natpmp();
#ifndef TORRENT_DISABLE_DHT
start_dht();
#endif
start_lsd();
} }
} }
@ -185,6 +189,10 @@ namespace libtorrent
{ {
start_upnp(); start_upnp();
start_natpmp(); start_natpmp();
#ifndef TORRENT_DISABLE_DHT
start_dht();
#endif
start_lsd();
} }
} }