diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-25 15:36:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-17 14:50:04 -0500 |
commit | ac990aa44a2e3f2b03f2f91e93847230c744dc5c (patch) | |
tree | aff556b54ddf0ef48328d3d72d1653b34820ffc3 /src/or | |
parent | 7315a6764675ca2a148554488504f5abf98ff7e6 (diff) | |
download | tor-ac990aa44a2e3f2b03f2f91e93847230c744dc5c.tar.gz tor-ac990aa44a2e3f2b03f2f91e93847230c744dc5c.zip |
Turn off by-default use of client-side DNS cacheing.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 9f54d3da08..04f512b804 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -4596,7 +4596,6 @@ port_cfg_new(void) port_cfg_t *cfg = tor_malloc_zero(sizeof(port_cfg_t)); cfg->ipv4_traffic = 1; cfg->cache_ipv4_answers = 1; - cfg->use_cached_ipv4_answers = 1; return cfg; } @@ -4844,7 +4843,7 @@ parse_port_config(smartlist_t *out, int no_listen = 0, no_advertise = 0, all_addrs = 0, bind_ipv4_only = 0, bind_ipv6_only = 0, ipv4_traffic = 1, ipv6_traffic = 0, prefer_ipv6 = 0, - cache_ipv4 = 1, use_cached_ipv4 = 1, + cache_ipv4 = 1, use_cached_ipv4 = 0, cache_ipv6 = 0, use_cached_ipv6 = 0; smartlist_split_string(elts, ports->value, NULL, |