summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-10-10 20:13:52 +0000
committerRoger Dingledine <arma@torproject.org>2007-10-10 20:13:52 +0000
commitd9a99b9ba6582d40a929838e5af771204b9c964b (patch)
tree3e8379963666f88d54ffe5ae833739e8c62644e4 /src/or/dirserv.c
parent976c8f8a71b8dac7dc683e54cce02fcfe4146780 (diff)
downloadtor-d9a99b9ba6582d40a929838e5af771204b9c964b.tar.gz
tor-d9a99b9ba6582d40a929838e5af771204b9c964b.zip
get r11842 closer to what i want
svn:r11851
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 7d69aa21a4..b849fd90b8 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1852,7 +1852,7 @@ get_possible_sybil_list(const smartlist_t *routers)
last_addr = ri->addr;
addr_count = 1;
} else if (++addr_count > MAX_WITH_SAME_ADDR) {
- if (!router_digest_is_trusted_dir(ri->cache_info.identity_digest) ||
+ if (!router_addr_is_trusted_dir(ri->addr) ||
addr_count > MAX_WITH_SAME_ADDR_ON_AUTHORITY)
digestmap_set(omit_as_sybil, ri->cache_info.identity_digest, ri);
}