mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
bugfix: moria2 wasn't listing itself as verified in its directory
svn:r4893
This commit is contained in:
parent
ba899d0648
commit
93179f4e7e
@ -904,7 +904,10 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg)
|
||||
if (router->published_on <= old_router->published_on) {
|
||||
log_fn(LOG_DEBUG, "Skipping not-new descriptor for router '%s'",
|
||||
router->nickname);
|
||||
if (!authdir) {
|
||||
if (authdir) {
|
||||
/* Update the is_verified status based on our lookup. */
|
||||
old_router->is_verified = router->is_verified;
|
||||
} else {
|
||||
/* Update the is_running status to whatever we were told. */
|
||||
old_router->is_running = router->is_running;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user