aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index a19f9c4cb..ccd60f8a1 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -160,8 +160,10 @@ dns_init(void)
{
init_cache_map();
dnsworkers_rotate();
+#ifdef USE_EVENTDNS
if (server_mode(get_options()))
configure_nameservers();
+#endif
}
uint32_t