summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-11-26 02:18:57 +0000
committerRoger Dingledine <arma@torproject.org>2007-11-26 02:18:57 +0000
commit91bb09cb28246f8ae2fe7525be61eba58f6bf814 (patch)
tree79b4b9bd822ec4b13565e6c765d70049ca6b4761 /src/or/networkstatus.c
parent17393b835927cec5db32dce7af8f2f4721e9a71b (diff)
downloadtor-91bb09cb28246f8ae2fe7525be61eba58f6bf814.tar.gz
tor-91bb09cb28246f8ae2fe7525be61eba58f6bf814.zip
Only update guard status (usable / not usable) once we have
enough directory information. This was causing us to always pick two new guards on startup (bugfix on 0.2.0.9-alpha), and it was causing us to discard all our guards on startup if we hadn't been running for a few weeks (bugfix on 0.1.2.x). Fixes bug 448. svn:r12570
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 150a5d1b81..3ede96eafc 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1423,7 +1423,6 @@ routers_update_all_from_networkstatus(time_t now, int dir_version)
ri->cache_info.routerlist_index = ri_sl_idx);
if (rl->old_routers)
signed_descs_update_status_from_consensus_networkstatus(rl->old_routers);
- entry_guards_compute_status();
me = router_get_my_routerinfo();
if (me && !have_warned_about_invalid_status) {