mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.
svn:r5080
This commit is contained in:
parent
d45badd9f4
commit
538740e362
@ -2338,8 +2338,8 @@ routers_update_status_from_networkstatus(smartlist_t *routers)
|
||||
n_running, n_recent);
|
||||
|
||||
router->is_named = (n_named > n_naming/2);
|
||||
if (authdir) {
|
||||
/* We're a non-naming authdir; don't believe others. */
|
||||
if (!authdir) {
|
||||
/* If we're an authdir, don't believe others. */
|
||||
router->is_verified = (n_valid > n_statuses/2);
|
||||
router->is_running = (n_running > n_recent/2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user