aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2017-11-04 16:37:41 +0100
committerSebastian Hahn <sebastian@torproject.org>2017-11-04 18:31:02 +0100
commitd3fee8b82395f95a925b9adcb7b3a66ae0d5a0ef (patch)
treea38c8bb23187a9bc71389f438882d0fe9f120328 /src/test/test_options.c
parente491c05f96387178da0958614084cd6ab30f5ea7 (diff)
downloadtor-d3fee8b82395f95a925b9adcb7b3a66ae0d5a0ef.tar.gz
tor-d3fee8b82395f95a925b9adcb7b3a66ae0d5a0ef.zip
ClientDNSRejectInternalAddresses in non-default networks
Once again allow the flag to be set, unless the default network is used. Thanks to nickm for a suggestion for the workaround to a test failure.
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index c55be35845..62732cabf7 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -398,11 +398,12 @@ fixed_get_uname(void)
"V3AuthVoteDelay 20\n" \
"V3AuthDistDelay 20\n" \
"V3AuthNIntervalsValid 3\n" \
- "ClientUseIPv4 1\n" \
+ "ClientUseIPv4 1\n" \
"VirtualAddrNetworkIPv4 127.192.0.0/10\n" \
"VirtualAddrNetworkIPv6 [FE80::]/10\n" \
"UseEntryGuards 1\n" \
- "Schedulers Vanilla\n"
+ "Schedulers Vanilla\n" \
+ "ClientDNSRejectInternalAddresses 1\n"
typedef struct {
or_options_t *old_opt;