summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-10-13 20:30:40 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-13 20:30:40 -0400
commit44674369c5db15f64c7b5fe53c3b7010abb783d5 (patch)
tree5e4ab85f2263b3980e27b7331db98371742b2b65 /src/or/or.h
parent3aec6556941433e4770226530457eb79a511b555 (diff)
downloadtor-44674369c5db15f64c7b5fe53c3b7010abb783d5.tar.gz
tor-44674369c5db15f64c7b5fe53c3b7010abb783d5.zip
Implement node_set_exit_policy_to_reject_all with a flag
Also remove some debugging code.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 96d0d79e1a..eadc3b13f5 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1768,6 +1768,9 @@ typedef struct node_t {
* to this (unnamed) router by nickname?
*/
+ /** Local info: we treat this node as if it rejects everything */
+ unsigned int rejects_all:1;
+
/* Local info: derived. */
/** According to the geoip db what country is this router in? */