summaryrefslogtreecommitdiff
path: root/src/or/or.h
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/or.h
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/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 9474c00fae..b6cffd4bea 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3274,6 +3274,7 @@ typedef struct {
* number of servers per IP address shared
* with an authority. */
int AuthDirHasIPv6Connectivity; /**< Autoboolean: are we on IPv6? */
+ int AuthDirPublishIPv6; /**< Boolean: should we list IPv6 OR ports? */
/** If non-zero, always vote the Fast flag for any relay advertising
* this amount of capacity or more. */