diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-29 12:06:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-29 12:06:14 -0500 |
commit | 20fa6a38839ee4882b7fe8d53840ba3087a1b4a6 (patch) | |
tree | 54bbce16b21fde5b6af93d7c35758e2f788e1a8d /src/test/test_config.c | |
parent | 6a9c3d6e3a719ed4e72327320a2f0d1d86e11f9c (diff) | |
parent | f0007f2b8d3fe981fc627eee0facfe828142a1fa (diff) | |
download | tor-20fa6a38839ee4882b7fe8d53840ba3087a1b4a6.tar.gz tor-20fa6a38839ee4882b7fe8d53840ba3087a1b4a6.zip |
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r-- | src/test/test_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index efa14af4b6..4290d0dc6d 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -4003,7 +4003,7 @@ test_config_parse_port_config__ports__ports_given(void *data) tt_int_op(port_cfg->entry_cfg.dns_request, OP_EQ, 1); tt_int_op(port_cfg->entry_cfg.ipv4_traffic, OP_EQ, 1); tt_int_op(port_cfg->entry_cfg.onion_traffic, OP_EQ, 1); - tt_int_op(port_cfg->entry_cfg.cache_ipv4_answers, OP_EQ, 1); + tt_int_op(port_cfg->entry_cfg.cache_ipv4_answers, OP_EQ, 0); tt_int_op(port_cfg->entry_cfg.prefer_ipv6_virtaddr, OP_EQ, 1); #endif /* defined(_WIN32) */ @@ -4346,7 +4346,7 @@ test_config_parse_port_config__ports__ports_given(void *data) tt_int_op(ret, OP_EQ, 0); tt_int_op(smartlist_len(slout), OP_EQ, 1); port_cfg = (port_cfg_t *)smartlist_get(slout, 0); - tt_int_op(port_cfg->entry_cfg.cache_ipv4_answers, OP_EQ, 1); + tt_int_op(port_cfg->entry_cfg.cache_ipv4_answers, OP_EQ, 0); tt_int_op(port_cfg->entry_cfg.cache_ipv6_answers, OP_EQ, 1); // Test success with no cache ipv4 DNS |