aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/microdesc_st.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-08-25 20:22:57 -0400
committerGeorge Kadianakis <desnacked@riseup.net>2019-09-05 17:02:45 +0300
commitbe4a60945d724ca964d9d53f57cad6190a500077 (patch)
treec016a3384edd307268d5ff2ff422505c6e1d9764 /src/feature/nodelist/microdesc_st.h
parent6ba05eea8efcfc1f9b4a382ee1849e49ea242891 (diff)
downloadtor-be4a60945d724ca964d9d53f57cad6190a500077.tar.gz
tor-be4a60945d724ca964d9d53f57cad6190a500077.zip
Check IPv6 exit policies on microdescriptors in node_exit_policy_rejects_all()
Diffstat (limited to 'src/feature/nodelist/microdesc_st.h')
-rw-r--r--src/feature/nodelist/microdesc_st.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/nodelist/microdesc_st.h b/src/feature/nodelist/microdesc_st.h
index c8265cb778..e017c46c79 100644
--- a/src/feature/nodelist/microdesc_st.h
+++ b/src/feature/nodelist/microdesc_st.h
@@ -33,6 +33,8 @@ struct microdesc_t {
unsigned int no_save : 1;
/** If true, this microdesc has an entry in the microdesc_map */
unsigned int held_in_map : 1;
+ /** True iff the exit policy for this router rejects everything. */
+ unsigned int policy_is_reject_star : 1;
/** Reference count: how many node_ts have a reference to this microdesc? */
unsigned int held_by_nodes;