]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
make AuthDirHasIPv6Connectivity match the man page
authorRoger Dingledine <arma@torproject.org>
Wed, 5 Sep 2012 22:17:41 +0000 (18:17 -0400)
committerRoger Dingledine <arma@torproject.org>
Wed, 5 Sep 2012 22:17:41 +0000 (18:17 -0400)
we can turn it into an autobool later if we have some way for it
to make a decision.

(patch possibly got lost when nickm merged #6770; or maybe nickm meant
for it to be this way. i'm not sure.)

src/or/config.c
src/or/or.h

index 60276688ce413f9de6407da69ab390b2e0d8e1c3..a4a794a14ddbced6c506f6d812d567684ce2760e 100644 (file)
@@ -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, "0"),
+  V(AuthDirHasIPv6Connectivity,  BOOL,     "0"),
   VAR("AuthoritativeDirectory",  BOOL, AuthoritativeDir,    "0"),
   V(AutomapHostsOnResolve,       BOOL,     "0"),
   V(AutomapHostsSuffixes,        CSV,      ".onion,.exit"),
index 0b321fde06df6b6d5c914bf11a5fba7c0f0b42e2..3609d32b778a193301596b81c52fe2d0708fa45c 100644 (file)
@@ -3323,7 +3323,7 @@ typedef struct {
   int AuthDirMaxServersPerAuthAddr; /**< Do not permit more than this
                                      * number of servers per IP address shared
                                      * with an authority. */
-  int AuthDirHasIPv6Connectivity; /**< Autoboolean: are we on IPv6?  */
+  int AuthDirHasIPv6Connectivity; /**< Boolean: are we on IPv6?  */
 
   /** If non-zero, always vote the Fast flag for any relay advertising
    * this amount of capacity or more. */