diff options
author | Roger Dingledine <arma@torproject.org> | 2008-06-11 03:21:03 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-06-11 03:21:03 +0000 |
commit | 474e1961a92e6be66f06cb2379dd1c413ff42349 (patch) | |
tree | 43858d99792ec000bddbb6e960c5aaaf81743436 /src/or | |
parent | 01aa4f95acd157ae6c4cccec531c63653bc2dc10 (diff) | |
download | tor-474e1961a92e6be66f06cb2379dd1c413ff42349.tar.gz tor-474e1961a92e6be66f06cb2379dd1c413ff42349.zip |
When we're checking if we have enough dir info for each relay
to begin establishing circuits, make sure that we actually have
the descriptor listed in the consensus, not just any descriptor.
svn:r15119
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 538d8e942f..83d36d351c 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4162,7 +4162,7 @@ update_router_have_minimum_dir_info(void) { if (client_would_use_router(rs, now, options)) { ++num_usable; - if (router_get_by_digest(rs->identity_digest)) { + if (router_get_by_descriptor_digest(rs->descriptor_digest)) { ++num_present; } } |