mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
r15859@catbus: nickm | 2007-10-16 13:09:28 -0400
Reset the is_named flag only on non-naming directories. svn:r11989
This commit is contained in:
parent
bbff989c1a
commit
58ecc39141
@ -1173,8 +1173,9 @@ routers_update_status_from_consensus_networkstatus(smartlist_t *routers,
|
|||||||
}
|
}
|
||||||
if (r>0) {
|
if (r>0) {
|
||||||
/* We have no routerstatus for this router. Clear flags and skip it. */
|
/* We have no routerstatus for this router. Clear flags and skip it. */
|
||||||
if (!authdir) {
|
if (!namingdir)
|
||||||
router->is_named = 0;
|
router->is_named = 0;
|
||||||
|
if (!authdir) {
|
||||||
if (router->purpose == ROUTER_PURPOSE_GENERAL) {
|
if (router->purpose == ROUTER_PURPOSE_GENERAL) {
|
||||||
router->is_valid = router->is_running =
|
router->is_valid = router->is_running =
|
||||||
router->is_fast = router->is_stable =
|
router->is_fast = router->is_stable =
|
||||||
|
Loading…
Reference in New Issue
Block a user