diff options
author | Roger Dingledine <arma@torproject.org> | 2005-09-02 06:19:31 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-09-02 06:19:31 +0000 |
commit | 93179f4e7e68332e7316e40edcb14b584b8c712c (patch) | |
tree | 724f3729a63b1797b7bcb1d57871d252d2ec538a /src/or | |
parent | ba899d06486c70e37443058345b7de99bf391878 (diff) | |
download | tor-93179f4e7e68332e7316e40edcb14b584b8c712c.tar.gz tor-93179f4e7e68332e7316e40edcb14b584b8c712c.zip |
bugfix: moria2 wasn't listing itself as verified in its directory
svn:r4893
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 2f20d0d79d..c30e35bafd 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -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; } |