diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-25 00:20:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-14 23:16:22 -0500 |
commit | 9016d9e8294a35295851d12b62de4ac9a5549709 (patch) | |
tree | 028df65c0b01db32661f0389726d033130bfade9 /src/or/router.c | |
parent | c3faa0ebd55f7de80db1a3aa5e64a79c72708722 (diff) | |
download | tor-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/router.c')
-rw-r--r-- | src/or/router.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c index 642656fc05..5e9f3d542b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1604,6 +1604,7 @@ router_rebuild_descriptor(int force) policies_exit_policy_append_reject_star(&ri->exit_policy); } else { policies_parse_exit_policy(options->ExitPolicy, &ri->exit_policy, + options->IPv6Exit, options->ExitPolicyRejectPrivate, ri->address, !options->BridgeRelay); } |