mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user