aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-18 11:28:54 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-01-29 07:13:57 +1100
commit268608c0a0605e596d1a884ee35d432c88bac38b (patch)
treea3f17f77b59b7e4d222c76920468e351d1248c19 /src/or/or.h
parent2d33d192fc4dd0da2a2e038dd87b277f8e9b90de (diff)
downloadtor-268608c0a0605e596d1a884ee35d432c88bac38b.tar.gz
tor-268608c0a0605e596d1a884ee35d432c88bac38b.zip
Choose OR Entry Guards using IPv4/IPv6 preferences
Update unit tests.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index b1765d1d57..412789cafe 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -5221,7 +5221,9 @@ typedef enum {
CRN_ALLOW_INVALID = 1<<3,
/* XXXX not used, apparently. */
CRN_WEIGHT_AS_EXIT = 1<<5,
- CRN_NEED_DESC = 1<<6
+ CRN_NEED_DESC = 1<<6,
+ /* On clients, only provide nodes that satisfy ClientPreferIPv6OR */
+ CRN_PREF_ADDR = 1<<7
} router_crn_flags_t;
/** Return value for router_add_to_routerlist() and dirserv_add_descriptor() */