aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-10-31 18:49:49 -0700
committerMike Perry <mikeperry-git@fscked.org>2012-12-07 15:28:37 -0800
commitbb548134cd4fd7b4b330cea15111ff257859bba8 (patch)
tree47fe6da8cf5e1e00bcdc7558ed1e45a81059d0fc /src/or/entrynodes.c
parent192996690cd7bc3ae6c159901a3a9a6232e74514 (diff)
downloadtor-bb548134cd4fd7b4b330cea15111ff257859bba8.tar
tor-bb548134cd4fd7b4b330cea15111ff257859bba8.tar.gz
Update with code review changes from Nick.
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index faf5269a5..317a08847 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -1049,7 +1049,7 @@ entry_guards_parse_state(or_state_t *state, int set, char **msg)
* rate and disable the feature entirely. If refactoring, don't
* change to <= */
if ((node->circuit_successes/((double)node->first_hops)
- < pathbias_get_crit_rate(options)) &&
+ < pathbias_get_extreme_rate(options)) &&
pathbias_get_dropguards(options)) {
node->path_bias_disabled = 1;
log_info(LD_GENERAL,