From 58ecc39141f708ef2642dad265b25638e3f0bf9d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 16 Oct 2007 17:21:01 +0000 Subject: r15859@catbus: nickm | 2007-10-16 13:09:28 -0400 Reset the is_named flag only on non-naming directories. svn:r11989 --- src/or/networkstatus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/networkstatus.c') diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index ae55ee5b47..6e770af5db 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1173,8 +1173,9 @@ routers_update_status_from_consensus_networkstatus(smartlist_t *routers, } if (r>0) { /* We have no routerstatus for this router. Clear flags and skip it. */ - if (!authdir) { + if (!namingdir) router->is_named = 0; + if (!authdir) { if (router->purpose == ROUTER_PURPOSE_GENERAL) { router->is_valid = router->is_running = router->is_fast = router->is_stable = -- cgit v1.2.3-54-g00ecf