diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-02-22 14:06:28 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-02-22 14:06:28 -0500 |
commit | cdc59c198a15195a113d68b2c4fbb270792da533 (patch) | |
tree | a203f0f49552aaf0b7840534eed3151ff3840708 /src/or/policies.h | |
parent | 9d5873cdaedf5bbae50bec08bb0719a1a5be403d (diff) | |
download | tor-cdc59c198a15195a113d68b2c4fbb270792da533.tar.gz tor-cdc59c198a15195a113d68b2c4fbb270792da533.zip |
Don't let bad DNS make exit policy and declared exit policy get out of sync
Patch from "postman" on trac. Fixes bg 2366. Bug on 0.1.2.5-alpha.
Diffstat (limited to 'src/or/policies.h')
-rw-r--r-- | src/or/policies.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/policies.h b/src/or/policies.h index a954ac4f5f..b2947c67e7 100644 --- a/src/or/policies.h +++ b/src/or/policies.h @@ -41,6 +41,7 @@ addr_policy_result_t compare_addr_to_addr_policy(uint32_t addr, int policies_parse_exit_policy(config_line_t *cfg, smartlist_t **dest, int rejectprivate, const char *local_address, int add_default_policy); +void policies_exit_policy_append_reject_star(smartlist_t **dest); void policies_set_router_exitpolicy_to_reject_all(routerinfo_t *exitrouter); int exit_policy_is_general_exit(smartlist_t *policy); int policy_is_reject_star(const smartlist_t *policy); |