diff --git a/include/libtorrent/session_settings.hpp b/include/libtorrent/session_settings.hpp index e46a821e9..7f6418d74 100644 --- a/include/libtorrent/session_settings.hpp +++ b/include/libtorrent/session_settings.hpp @@ -58,7 +58,9 @@ namespace libtorrent , urlseed_pipeline_size(5) , file_pool_size(40) , allow_multiple_connections_per_ip(false) +#ifndef TORRENT_DISABLE_DHT , use_dht_as_fallback(true) +#endif {} std::string proxy_ip;