aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/main.c b/src/or/main.c
index e33b19c8ea..f6080c7618 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -957,11 +957,7 @@ do_main_loop(void)
{
int loop_result;
- dns_init(); /* initialize the dns resolve tree */
- /* only spawn dns handlers if we're a router */
- if (server_mode(get_options())) {
- dnsworkers_rotate();
- }
+ dns_init(); /* initialize dns resolve tree, spawn workers if needed */
handle_signals(1);