aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-06 18:14:16 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-14 16:07:03 -0500
commitc0a7527eb8590b39f11dd8b0ae18794dfc63a934 (patch)
tree47018fe93b2b79c9002a3bf4bd8153b0c91d5d07 /src/app
parentf6b8c7da66bf93a9505b397661616cc4af2a34f6 (diff)
downloadtor-c0a7527eb8590b39f11dd8b0ae18794dfc63a934.tar.gz
tor-c0a7527eb8590b39f11dd8b0ae18794dfc63a934.zip
Remove dependency on lib/net from lib/sandbox.
This was trivial, and the easiest way to remove the remaining .may_include circularities.
Diffstat (limited to 'src/app')
-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