From: Roger Dingledine Date: Tue, 31 Jan 2017 20:06:15 +0000 (-0500) Subject: be explicit in clear_status_flags_on_sybil that we leave BadExit alone X-Git-Tag: tor-0.3.0.3-alpha~27^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ff7850f2617a0e565c2fd13deb5aaebf39e974a;p=thirdparty%2Ftor.git be explicit in clear_status_flags_on_sybil that we leave BadExit alone --- 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 rs 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)