summaryrefslogtreecommitdiff
path: root/src/app/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r--src/app/main/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index 653a393fe4..ec86c46397 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -1402,6 +1402,7 @@ tor_run_main(const tor_main_configuration_t *tor_cfg)
tor_free_all(0);
return -1;
}
+ tor_make_getaddrinfo_cache_active();
// registering libevent rng
#ifdef HAVE_EVUTIL_SECURE_RNG_SET_URANDOM_DEVICE_FILE