mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
be explicit in clear_status_flags_on_sybil that we leave BadExit alone
This commit is contained in:
parent
a47c133c86
commit
6ff7850f26
1 changed files with 4 additions and 0 deletions
|
@ -2233,6 +2233,10 @@ dirserv_set_routerstatus_testing(routerstatus_t *rs)
|
||||||
/** Routerstatus <b>rs</b> is part of a group of routers that are on
|
/** Routerstatus <b>rs</b> is part of a group of routers that are on
|
||||||
* too narrow an IP-space. Clear out its flags: we don't want people
|
* too narrow an IP-space. Clear out its flags: we don't want people
|
||||||
* using it.
|
* using it.
|
||||||
|
*
|
||||||
|
* Leave its BadExit flag alone though, since if we think it's a bad exit,
|
||||||
|
* we want to vote that way in case all the other authorities are voting
|
||||||
|
* Running and Exit.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
clear_status_flags_on_sybil(routerstatus_t *rs)
|
clear_status_flags_on_sybil(routerstatus_t *rs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue