diff options
author | Neel Chauhan <neel@neelc.org> | 2020-02-18 08:20:11 -0800 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-03-09 09:33:00 -0400 |
commit | 7d673e70b072663e3f9f11819b166846e578251d (patch) | |
tree | bee9fffb6773c399f487718c57fdcdc3349a2181 /src/feature/client | |
parent | 17724a7cdeb9b98539831f1164a82784f1fb050f (diff) | |
download | tor-7d673e70b072663e3f9f11819b166846e578251d.tar.gz tor-7d673e70b072663e3f9f11819b166846e578251d.zip |
Remove the ClientAutoIPv6ORPort option
Diffstat (limited to 'src/feature/client')
-rw-r--r-- | src/feature/client/bridges.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/feature/client/bridges.c b/src/feature/client/bridges.c index 2b52a1173d..66b04f3bc2 100644 --- a/src/feature/client/bridges.c +++ b/src/feature/client/bridges.c @@ -844,8 +844,7 @@ rewrite_node_address_for_bridge(const bridge_info_t *bridge, node_t *node) } } - if (options->ClientPreferIPv6ORPort == -1 || - options->ClientAutoIPv6ORPort == 0) { + if (options->ClientPreferIPv6ORPort == -1) { /* Mark which address to use based on which bridge_t we got. */ node->ipv6_preferred = (tor_addr_family(&bridge->addr) == AF_INET6 && !tor_addr_is_null(&node->ri->ipv6_addr)); |