Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
58ecc391
Commit
58ecc391
authored
Oct 16, 2007
by
Nick Mathewson
⛰
Browse files
r15859@catbus: nickm | 2007-10-16 13:09:28 -0400
Reset the is_named flag only on non-naming directories. svn:r11989
parent
bbff989c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/networkstatus.c
View file @
58ecc391
...
...
@@ -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
(
!
auth
dir
)
{
if
(
!
naming
dir
)
router
->
is_named
=
0
;
if
(
!
authdir
)
{
if
(
router
->
purpose
==
ROUTER_PURPOSE_GENERAL
)
{
router
->
is_valid
=
router
->
is_running
=
router
->
is_fast
=
router
->
is_stable
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment