diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-22 16:10:40 -0500 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-12-14 23:43:50 +1100 |
commit | 85003f4c80b7c980099fedca7dba0c0a90209084 (patch) | |
tree | 095ed5940d719cca70efad4fb712006b8d21000a /src/or/or.h | |
parent | f3ed5ec0cac4719e249e629760756314d7cfecba (diff) | |
download | tor-85003f4c80b7c980099fedca7dba0c0a90209084.tar.gz tor-85003f4c80b7c980099fedca7dba0c0a90209084.zip |
Add a new ipv6=address:orport flag to DirAuthority and FallbackDir
Resolves # 6027
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 945934e271..8fd141bec9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -5009,9 +5009,11 @@ typedef struct dir_server_t { char *description; char *nickname; char *address; /**< Hostname. */ + tor_addr_t ipv6_addr; /**< IPv6 address if present; AF_UNSPEC if not */ uint32_t addr; /**< IPv4 address. */ uint16_t dir_port; /**< Directory port. */ uint16_t or_port; /**< OR port: Used for tunneling connections. */ + uint16_t ipv6_orport; /**< OR port corresponding to ipv6_addr. */ double weight; /** Weight used when selecting this node at random */ char digest[DIGEST_LEN]; /**< Digest of identity key. */ char v3_identity_digest[DIGEST_LEN]; /**< Digest of v3 (authority only, |