mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Stop setting routers as running in list_server_status_v1()
This commit is contained in:
parent
c07d854772
commit
14d7008045
@ -78,10 +78,7 @@ list_server_status_v1(smartlist_t *routers, char **router_status_out,
|
|||||||
SMARTLIST_FOREACH_BEGIN(routers, routerinfo_t *, ri) {
|
SMARTLIST_FOREACH_BEGIN(routers, routerinfo_t *, ri) {
|
||||||
const node_t *node = node_get_by_id(ri->cache_info.identity_digest);
|
const node_t *node = node_get_by_id(ri->cache_info.identity_digest);
|
||||||
tor_assert(node);
|
tor_assert(node);
|
||||||
if (authdir) {
|
|
||||||
/* Update router status in routerinfo_t. */
|
|
||||||
dirserv_set_router_is_running(ri, now);
|
|
||||||
}
|
|
||||||
if (for_controller) {
|
if (for_controller) {
|
||||||
char name_buf[MAX_VERBOSE_NICKNAME_LEN+2];
|
char name_buf[MAX_VERBOSE_NICKNAME_LEN+2];
|
||||||
char *cp = name_buf;
|
char *cp = name_buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user