summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-17 12:34:13 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-17 12:34:13 -0500
commit9bf6da1861f8cd67a40ea4f24a12d09413a8926f (patch)
tree6baeba401270f425c0df622207230678fcc74508 /src/or/dirserv.c
parent1447324a6ca380a29fe84081d30eb7023d60cece (diff)
parent8b82f6261ea5c3fa154315f74be57710865e9a6b (diff)
downloadtor-9bf6da1861f8cd67a40ea4f24a12d09413a8926f.tar.gz
tor-9bf6da1861f8cd67a40ea4f24a12d09413a8926f.zip
Merge remote-tracking branch 'public/feature_13822'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 384124df59..7bc91985a2 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1427,7 +1427,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl,
/* The 12.5th percentile bandwidth is fast. */
fast_bandwidth_kb = find_nth_uint32(bandwidths_kb, n_active, n_active/8);
/* (Now bandwidths is sorted.) */
- if (fast_bandwidth_kb < ROUTER_REQUIRED_MIN_BANDWIDTH/(2 * 1000))
+ if (fast_bandwidth_kb < RELAY_REQUIRED_MIN_BANDWIDTH/(2 * 1000))
fast_bandwidth_kb = bandwidths_kb[n_active/4];
guard_bandwidth_including_exits_kb =
third_quartile_uint32(bandwidths_kb, n_active);