Bläddra i källkod

Merge remote-tracking branch 'linus/bug6770_3'

Conflicts:
	doc/tor.1.txt
	src/or/config.c
Nick Mathewson 11 år sedan
förälder
incheckning
116c8409ba
2 ändrade filer med 6 tillägg och 7 borttagningar
  1. 5 6
      doc/tor.1.txt
  2. 1 1
      src/or/config.c

+ 5 - 6
doc/tor.1.txt

@@ -1747,12 +1747,11 @@ DIRECTORY AUTHORITY SERVER OPTIONS
     votes on whether to accept relays as hidden service directories.
     (Default: 1)
 
-**AuthDirHasIPv6Connectivity** **0**|**1**|**auto**::
-
-    Authoritative directories only. When set to 1, IPv6 OR ports are
-    being tested for reachability and voted on. When set to auto, Tor
-    tries to find out if the authority relay has IPv6 connectivity or
-    not. (Default: 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. (Default: 0)
 
 HIDDEN SERVICE OPTIONS
 ----------------------

+ 1 - 1
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,  AUTOBOOL, "0"),
   VAR("AuthoritativeDirectory",  BOOL, AuthoritativeDir,    "0"),
   V(AutomapHostsOnResolve,       BOOL,     "0"),
   V(AutomapHostsSuffixes,        CSV,      ".onion,.exit"),