diff options
author | Roger Dingledine <arma@torproject.org> | 2012-09-05 18:17:41 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-09-05 18:17:41 -0400 |
commit | b00b8272daa63e54e25f51bef7850c1c185dba5c (patch) | |
tree | c9894c802a56a5f171a80e7904a0680c4dee668d | |
parent | 325f33047a72050cbe3c35a5dc2ca156d012c996 (diff) | |
download | tor-b00b8272daa63e54e25f51bef7850c1c185dba5c.tar tor-b00b8272daa63e54e25f51bef7850c1c185dba5c.tar.gz |
make AuthDirHasIPv6Connectivity match the man page
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.)
-rw-r--r-- | src/or/config.c | 2 | ||||
-rw-r--r-- | src/or/or.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 60276688c..a4a794a14 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, "0"), + V(AuthDirHasIPv6Connectivity, BOOL, "0"), VAR("AuthoritativeDirectory", BOOL, AuthoritativeDir, "0"), V(AutomapHostsOnResolve, BOOL, "0"), V(AutomapHostsSuffixes, CSV, ".onion,.exit"), diff --git a/src/or/or.h b/src/or/or.h index 0b321fde0..3609d32b7 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -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. */ |