diff options
author | Roger Dingledine <arma@torproject.org> | 2017-01-31 15:06:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-01-31 18:50:16 -0500 |
commit | 6ff7850f2617a0e565c2fd13deb5aaebf39e974a (patch) | |
tree | 5722443e92d08982ecb7951826d565d8216bc0c3 /src/or/dirserv.c | |
parent | a47c133c869db74024c9ab50801cd6b7553409e4 (diff) | |
download | tor-6ff7850f2617a0e565c2fd13deb5aaebf39e974a.tar.gz tor-6ff7850f2617a0e565c2fd13deb5aaebf39e974a.zip |
be explicit in clear_status_flags_on_sybil that we leave BadExit alone
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index cbed64657a..1b614b949e 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -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 * too narrow an IP-space. Clear out its flags: we don't want people * 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 clear_status_flags_on_sybil(routerstatus_t *rs) |