commit 81f2828d67f0853c028617511f3846c02f0d6628
parent 822cb93cab59e9735e2efda70bc88c47cc92c498
Author: Neel Chauhan <neel@neelc.org>
Date: Wed, 26 Sep 2018 19:19:11 -0400
In fascist_firewall_use_ipv6(), say we can use IPv6 if ClientAutoIPv6ORPort is 1
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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