[tor-commits] [tor/master] be explicit in clear_status_flags_on_sybil that we leave BadExit alone

nickm at torproject.org nickm at torproject.org
Tue Jan 31 23:51:38 UTC 2017


commit 6ff7850f2617a0e565c2fd13deb5aaebf39e974a
Author: Roger Dingledine <arma at torproject.org>
Date:   Tue Jan 31 15:06:15 2017 -0500

    be explicit in clear_status_flags_on_sybil that we leave BadExit alone
---
 src/or/dirserv.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index cbed646..1b614b9 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)





More information about the tor-commits mailing list