mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Actually advertise IPv6 exit policies.
I have a theory that my tests will work better if the code I'm testing isn't disabled.
This commit is contained in:
parent
2889bd2642
commit
004f3f4e53
@ -1622,11 +1622,13 @@ router_rebuild_descriptor(int force)
|
|||||||
}
|
}
|
||||||
ri->policy_is_reject_star =
|
ri->policy_is_reject_star =
|
||||||
policy_is_reject_star(ri->exit_policy);
|
policy_is_reject_star(ri->exit_policy);
|
||||||
#if 0
|
|
||||||
/* XXXX024 Don't actually enable this code until exiting to an IPv6
|
if (options->IPv6Exit) {
|
||||||
* address works. */
|
char *p_tmp = policy_summarize(ri->exit_policy, AF_INET6);
|
||||||
ri->ipv6_exit_policy = policy_summarize(&ri->exit_policy, AF_INET6);
|
if (p_tmp)
|
||||||
#endif
|
ri->ipv6_exit_policy = parse_short_policy(p_tmp);
|
||||||
|
tor_free(p_tmp);
|
||||||
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* XXXX NM NM I belive this is safe to remove */
|
/* XXXX NM NM I belive this is safe to remove */
|
||||||
|
Loading…
Reference in New Issue
Block a user