diff options
author | Linus Nordberg <linus@torproject.org> | 2012-09-05 11:41:26 +0200 |
---|---|---|
committer | Linus Nordberg <linus@torproject.org> | 2012-09-05 12:47:01 +0200 |
commit | 0e53742a857b928a5b750ddd7b036e9eae2fdd9c (patch) | |
tree | 044248cf715eeae6f82085c649558e08dc7049e7 | |
parent | c77d1b7bda554d80c309c1d448d32f3220537b4f (diff) | |
download | tor-0e53742a857b928a5b750ddd7b036e9eae2fdd9c.tar.gz tor-0e53742a857b928a5b750ddd7b036e9eae2fdd9c.zip |
Make AuthDirHasIPv6Connectivity a BOOL.
This is a fix of unreleased tor. It solves ticket #6770.
-rw-r--r-- | doc/tor.1.txt | 5 | ||||
-rw-r--r-- | src/or/config.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt index 5e76105d2b..c4fac40d4c 100644 --- a/doc/tor.1.txt +++ b/doc/tor.1.txt @@ -1747,13 +1747,12 @@ DIRECTORY AUTHORITY SERVER OPTIONS votes on whether to accept relays as hidden service directories. (Default: 1) -**AuthDirHasIPv6Connectivity** **0**|**1**|**auto**:: +**AuthDirHasIPv6Connectivity** **0**|**1**:: Authoritative directories only. When set to 0, OR ports with an IPv6 address are being accepted without reachability testing. When set to 1, IPv6 OR ports are being tested just like IPv4 OR - ports. When set to auto, Tor tries to find out if the authority - relay has IPv6 connectivity or not. (Default: auto) + ports. (Default: 0) **AuthDirPublishIPv6** **0**|**1**:: diff --git a/src/or/config.c b/src/or/config.c index f21016d48f..949d1a2bbf 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -204,7 +204,7 @@ static config_var_t _option_vars[] = { V(AuthDirListBadExits, BOOL, "0"), V(AuthDirMaxServersPerAddr, UINT, "2"), V(AuthDirMaxServersPerAuthAddr,UINT, "5"), - V(AuthDirHasIPv6Connectivity, AUTOBOOL, "auto"), + V(AuthDirHasIPv6Connectivity, BOOL, "0"), V(AuthDirPublishIPv6, BOOL, "0"), VAR("AuthoritativeDirectory", BOOL, AuthoritativeDir, "0"), V(AutomapHostsOnResolve, BOOL, "0"), |