Stop setting routers as running in list_server_status_v1()

This commit is contained in:
Neel Chauhan 2019-04-11 21:30:48 -04:00
parent c07d854772
commit 14d7008045

View File

@ -78,10 +78,7 @@ list_server_status_v1(smartlist_t *routers, char **router_status_out,
SMARTLIST_FOREACH_BEGIN(routers, routerinfo_t *, ri) {
const node_t *node = node_get_by_id(ri->cache_info.identity_digest);
tor_assert(node);
if (authdir) {
/* Update router status in routerinfo_t. */
dirserv_set_router_is_running(ri, now);
}
if (for_controller) {
char name_buf[MAX_VERBOSE_NICKNAME_LEN+2];
char *cp = name_buf;