diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-09 16:41:57 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-29 12:01:45 -0500 |
commit | a94c4861027015b4ca4c6a9512fc36512196fea4 (patch) | |
tree | e318e855456ae67362fffde1c08564da382bf873 /src | |
parent | 04d4786cc40b2d80b4cd34e7d5339b0100861c8f (diff) | |
download | tor-a94c4861027015b4ca4c6a9512fc36512196fea4.tar.gz tor-a94c4861027015b4ca4c6a9512fc36512196fea4.zip |
Make the cache_ipv4_answers default become 0 again, for real.
Fortunately, use_cached_ipv4_answers was already 0, so we wouldn't
actually use this info, but it's best not to have it.
Fixes bug 24050; bugfix on 0.2.6.3-alpha
Diffstat (limited to 'src')
-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 1aeff462ed..c48070b582 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -6166,7 +6166,6 @@ port_cfg_new(size_t namelen) cfg->entry_cfg.ipv4_traffic = 1; cfg->entry_cfg.dns_request = 1; cfg->entry_cfg.onion_traffic = 1; - cfg->entry_cfg.cache_ipv4_answers = 1; cfg->entry_cfg.prefer_ipv6_virtaddr = 1; return cfg; } @@ -6519,7 +6518,7 @@ parse_port_config(smartlist_t *out, bind_ipv4_only = 0, bind_ipv6_only = 0, ipv4_traffic = 1, ipv6_traffic = 0, prefer_ipv6 = 0, dns_request = 1, onion_traffic = 1, - cache_ipv4 = 1, use_cached_ipv4 = 0, + cache_ipv4 = 0, use_cached_ipv4 = 0, cache_ipv6 = 0, use_cached_ipv6 = 0, prefer_ipv6_automap = 1, world_writable = 0, group_writable = 0, relax_dirmode_check = 0, |