diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-08 12:42:28 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:34:31 -0500 |
commit | 385602e9826e79dbf0d8b51abfd925e59f275708 (patch) | |
tree | 4eb7507609ba254aae054503309f0169401c271c /src/or/entrynodes.h | |
parent | a752ccd24f78838c7c1b6e245d09485459d28942 (diff) | |
download | tor-385602e9826e79dbf0d8b51abfd925e59f275708.tar.gz tor-385602e9826e79dbf0d8b51abfd925e59f275708.zip |
Respect GuardLifetime in prop271 code.
It overrides both the GUARD_LIFETIME and the
GUARD_CONFIRMED_MIN_LIFETIME options.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index d7dc01424a..827755ab11 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -503,8 +503,8 @@ STATIC double get_max_sample_threshold(void); STATIC int get_max_sample_size_absolute(void); STATIC int get_min_filtered_sample_size(void); STATIC int get_remove_unlisted_guards_after_days(void); -STATIC int get_guard_lifetime_days(void); -STATIC int get_guard_confirmed_min_lifetime_days(void); +STATIC int get_guard_lifetime(void); +STATIC int get_guard_confirmed_min_lifetime(void); STATIC int get_n_primary_guards(void); STATIC int get_internet_likely_down_interval(void); STATIC int get_nonprimary_guard_connect_timeout(void); |