aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2012-07-19 23:23:22 +0200
committerNick Mathewson <nickm@torproject.org>2012-07-19 17:51:15 -0400
commitfff842a47c7aca7cc8d49ac0e487fa3c6a536c96 (patch)
tree886e6688a318744ba4d1679d33012f59784a1953 /src/or/config.c
parent6208106c18c696756fe2be8f941992e31aa66a8d (diff)
downloadtor-fff842a47c7aca7cc8d49ac0e487fa3c6a536c96.tar.gz
tor-fff842a47c7aca7cc8d49ac0e487fa3c6a536c96.zip
Add config option AuthDirPublishIPv6.
Test for config option AuthDirPublishIPv6 == 1 rather than for running as a bridge authority when deciding whether to care or not about IPv6 OR ports in descriptors. Implements enhancement #6406.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 87c9cc4bb7..1a378c2271 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -202,6 +202,7 @@ static config_var_t _option_vars[] = {
V(AuthDirMaxServersPerAddr, UINT, "2"),
V(AuthDirMaxServersPerAuthAddr,UINT, "5"),
V(AuthDirHasIPv6Connectivity, AUTOBOOL, "auto"),
+ V(AuthDirPublishIPv6, BOOL, "0"),
VAR("AuthoritativeDirectory", BOOL, AuthoritativeDir, "0"),
V(AutomapHostsOnResolve, BOOL, "0"),
V(AutomapHostsSuffixes, CSV, ".onion,.exit"),