summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 65a341b9ca..2b8922a093 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -437,7 +437,7 @@ router_pick_directory_server_impl(int requireother, int fascistfirewall,
if (requireother && router_digest_is_me(status->identity_digest))
continue;
if (fascistfirewall) {
- if (!fascist_firewall_allows_address(status->addr, status->dir_port))
+ if (!fascist_firewall_allows_address_dir(status->addr, status->dir_port))
continue;
}
is_trusted = router_digest_is_trusted_dir(status->identity_digest);
@@ -482,7 +482,7 @@ router_pick_trusteddirserver_impl(int need_v1_authority,
if (requireother && me && router_digest_is_me(d->digest))
continue;
if (fascistfirewall) {
- if (!fascist_firewall_allows_address(d->addr, d->dir_port))
+ if (!fascist_firewall_allows_address_dir(d->addr, d->dir_port))
continue;
}
smartlist_add(sl, &d->fake_status);