summaryrefslogtreecommitdiff
path: root/src/or/policies.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-25 00:20:41 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:22 -0500
commit9016d9e8294a35295851d12b62de4ac9a5549709 (patch)
tree028df65c0b01db32661f0389726d033130bfade9 /src/or/policies.h
parentc3faa0ebd55f7de80db1a3aa5e64a79c72708722 (diff)
downloadtor-9016d9e8294a35295851d12b62de4ac9a5549709.tar.gz
tor-9016d9e8294a35295851d12b62de4ac9a5549709.zip
Add an IPv6Exit configuration option
Don't advertise an IPv6 exit policy, or accept IPv6 exit requests, if IPv6Exit is not true.
Diffstat (limited to 'src/or/policies.h')
-rw-r--r--src/or/policies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/policies.h b/src/or/policies.h
index e9d214dda5..f8de91133d 100644
--- a/src/or/policies.h
+++ b/src/or/policies.h
@@ -43,6 +43,7 @@ addr_policy_result_t compare_tor_addr_to_node_policy(const tor_addr_t *addr,
uint16_t port, const node_t *node);
int policies_parse_exit_policy(config_line_t *cfg, smartlist_t **dest,
+ int ipv6exit,
int rejectprivate, const char *local_address,
int add_default_policy);
void policies_exit_policy_append_reject_star(smartlist_t **dest);