aboutsummaryrefslogtreecommitdiff
path: root/src/core/or
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-09-26 19:19:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-12-01 14:55:57 -0500
commit81f2828d67f0853c028617511f3846c02f0d6628 (patch)
tree96fd393ef3afe2d1ed989db2964c00c6d742b3c8 /src/core/or
parent822cb93cab59e9735e2efda70bc88c47cc92c498 (diff)
downloadtor-81f2828d67f0853c028617511f3846c02f0d6628.tar.gz
tor-81f2828d67f0853c028617511f3846c02f0d6628.zip
In fascist_firewall_use_ipv6(), say we can use IPv6 if ClientAutoIPv6ORPort is 1
Diffstat (limited to 'src/core/or')
-rw-r--r--src/core/or/policies.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/policies.c b/src/core/or/policies.c
index e51a49cf60..6da369bf36 100644
--- a/src/core/or/policies.c
+++ b/src/core/or/policies.c
@@ -461,7 +461,8 @@ fascist_firewall_use_ipv6(const or_options_t *options)
* ClientPreferIPv6DirPort is deprecated, but check it anyway. */
return (options->ClientUseIPv6 == 1 || options->ClientUseIPv4 == 0 ||
options->ClientPreferIPv6ORPort == 1 ||
- options->ClientPreferIPv6DirPort == 1 || options->UseBridges == 1);
+ options->ClientPreferIPv6DirPort == 1 || options->UseBridges == 1 ||
+ options->ClientAutoIPv6ORPort == 1);
}
/** Do we prefer to connect to IPv6, ignoring ClientPreferIPv6ORPort and