summaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-22 16:10:40 -0500
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-14 23:43:50 +1100
commit85003f4c80b7c980099fedca7dba0c0a90209084 (patch)
tree095ed5940d719cca70efad4fb712006b8d21000a /src/or/routerlist.h
parentf3ed5ec0cac4719e249e629760756314d7cfecba (diff)
downloadtor-85003f4c80b7c980099fedca7dba0c0a90209084.tar.gz
tor-85003f4c80b7c980099fedca7dba0c0a90209084.zip
Add a new ipv6=address:orport flag to DirAuthority and FallbackDir
Resolves # 6027
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 100ab5848f..3c4c9cde2d 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -170,10 +170,12 @@ int router_exit_policy_rejects_all(const routerinfo_t *router);
dir_server_t *trusted_dir_server_new(const char *nickname, const char *address,
uint16_t dir_port, uint16_t or_port,
+ const tor_addr_port_t *addrport_ipv6,
const char *digest, const char *v3_auth_digest,
dirinfo_type_t type, double weight);
dir_server_t *fallback_dir_server_new(const tor_addr_t *addr,
uint16_t dir_port, uint16_t or_port,
+ const tor_addr_port_t *addrport_ipv6,
const char *id_digest, double weight);
void dir_server_add(dir_server_t *ent);