diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-01-21 12:58:59 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-01-29 07:16:04 +1100 |
commit | e991d642ec14d41df9da70442d99861bdb5bfb5b (patch) | |
tree | 15e781fb298feaeb728c30d0999abcada20ecffd /src/or/policies.h | |
parent | 3b8216f2155f224bf66497c71de4cecb55cd83e6 (diff) | |
download | tor-e991d642ec14d41df9da70442d99861bdb5bfb5b.tar.gz tor-e991d642ec14d41df9da70442d99861bdb5bfb5b.zip |
Add firewall_is_fascist_dir()
Refactor common parts of firewall_is_fascist_or().
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 ac4f7ea492..65f10e2ed7 100644 --- a/src/or/policies.h +++ b/src/or/policies.h @@ -30,6 +30,7 @@ typedef enum firewall_connection_t { typedef int exit_policy_parser_cfg_t; int firewall_is_fascist_or(void); +int firewall_is_fascist_dir(void); int fascist_firewall_use_ipv6(const or_options_t *options); int fascist_firewall_prefer_ipv6_orport(const or_options_t *options); int fascist_firewall_prefer_ipv6_dirport(const or_options_t *options); |