summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2015-01-29 14:57:00 +0000
committerNick Mathewson <nickm@torproject.org>2015-02-18 09:09:33 -0500
commitf4a63f8eabbdd842ebeb97aabba92ea47c37a607 (patch)
tree4e2cc251b585f2c941e8b3dafc0283d6e840ab2a /src/or/config.c
parentdb805b91708c02e9b2b4d0c25ec17a45e81929aa (diff)
downloadtor-f4a63f8eabbdd842ebeb97aabba92ea47c37a607.tar.gz
tor-f4a63f8eabbdd842ebeb97aabba92ea47c37a607.zip
Parse GuardFraction info from consensuses and votes.
Also introduce the UseGuardFraction torrc option which decides whether clients should use guardfraction information found in the consensus.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 6349445bc1..230ea7fff8 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -411,6 +411,7 @@ static config_var_t option_vars_[] = {
V(UseBridges, BOOL, "0"),
V(UseEntryGuards, BOOL, "1"),
V(UseEntryGuardsAsDirGuards, BOOL, "1"),
+ V(UseGuardFraction, AUTOBOOL, "auto"),
V(UseMicrodescriptors, AUTOBOOL, "auto"),
V(UseNTorHandshake, AUTOBOOL, "1"),
V(User, STRING, NULL),