diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-25 14:51:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-17 14:51:30 -0500 |
commit | 8d080d0b01f61c282ca8843801f2ebc8ae98c764 (patch) | |
tree | 2607cd2b36d89d15bebadaa8f3a88ce6f3e000d6 /src/or/or.h | |
parent | de4cc126cbb5e663bdd048fd782fde869be7b80a (diff) | |
download | tor-8d080d0b01f61c282ca8843801f2ebc8ae98c764.tar.gz tor-8d080d0b01f61c282ca8843801f2ebc8ae98c764.zip |
Per-listener option to prefer IPv6 automaps when possible.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 5b6019340c..17cd99b29f 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1242,6 +1242,7 @@ typedef struct listener_connection_t { unsigned int cache_ipv6_answers : 1; unsigned int use_cached_ipv4_answers : 1; unsigned int use_cached_ipv6_answers : 1; + unsigned int prefer_ipv6_virtaddr : 1; } listener_connection_t; @@ -1556,6 +1557,7 @@ typedef struct entry_connection_t { unsigned int cache_ipv6_answers : 1; unsigned int use_cached_ipv4_answers : 1; unsigned int use_cached_ipv6_answers : 1; + unsigned int prefer_ipv6_virtaddr : 1; } entry_connection_t; @@ -3107,6 +3109,7 @@ typedef struct port_cfg_t { unsigned int cache_ipv6_answers : 1; unsigned int use_cached_ipv4_answers : 1; unsigned int use_cached_ipv6_answers : 1; + unsigned int prefer_ipv6_virtaddr : 1; /* Unix sockets only: */ /** Path for an AF_UNIX address */ |