summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-08-08 21:58:48 +0000
committerNick Mathewson <nickm@torproject.org>2005-08-08 21:58:48 +0000
commit249b72f53e59beaefbc7b71ac0051c8afc110573 (patch)
tree83809229418cb686ef349f56371f26396988495e /src/or/test.c
parent3ac34ae3293ceb0f2b8c49c41b450f4923353871 (diff)
downloadtor-249b72f53e59beaefbc7b71ac0051c8afc110573.tar.gz
tor-249b72f53e59beaefbc7b71ac0051c8afc110573.zip
Replace (Fascist)Firewall* with a new ReachableAddresses option that understands address policies.
svn:r4751
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index efb1220c41..0f0abfd2cd 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1385,7 +1385,7 @@ test_exit_policies(void)
{
addr_policy_t *policy;
- policy = router_parse_addr_policy_from_string("reject 192.168.0.0/16:*");
+ policy = router_parse_addr_policy_from_string("reject 192.168.0.0/16:*",-1);
test_eq(NULL, policy->next);
test_eq(ADDR_POLICY_REJECT, policy->policy_type);
test_eq(0xc0a80000u, policy->addr);