diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-08-08 21:58:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-08-08 21:58:48 +0000 |
commit | 249b72f53e59beaefbc7b71ac0051c8afc110573 (patch) | |
tree | 83809229418cb686ef349f56371f26396988495e /src/or/relay.c | |
parent | 3ac34ae3293ceb0f2b8c49c41b450f4923353871 (diff) | |
download | tor-249b72f53e59beaefbc7b71ac0051c8afc110573.tar tor-249b72f53e59beaefbc7b71ac0051c8afc110573.tar.gz |
Replace (Fascist)Firewall* with a new ReachableAddresses option that understands address policies.
svn:r4751
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index ff7795511..856f2c4a5 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -656,7 +656,7 @@ connection_edge_process_end_not_open( log_fn(LOG_NOTICE,"Exitrouter '%s' seems to be more restrictive than its exit policy. Not using this router as exit for now.", exitrouter->nickname); addr_policy_free(exitrouter->exit_policy); exitrouter->exit_policy = - router_parse_addr_policy_from_string("reject *:*"); + router_parse_addr_policy_from_string("reject *:*", -1); } if (connection_ap_detach_retriable(conn, circ) >= 0) return 0; @@ -683,7 +683,7 @@ connection_edge_process_end_not_open( if (exitrouter) { addr_policy_free(exitrouter->exit_policy); exitrouter->exit_policy = - router_parse_addr_policy_from_string("reject *:*"); + router_parse_addr_policy_from_string("reject *:*", -1); } if (connection_ap_detach_retriable(conn, circ) >= 0) return 0; |