mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
Fix the spelling of maxunmeasur(e)dbw.
This has been misspelled when using consensus method 31 or later since 0.4.6.1-alpha. Fixes bug 40869.
This commit is contained in:
parent
5e95ad55dc
commit
b9b0abd6c2
3
changes/bug40869
Normal file
3
changes/bug40869
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (directory authority):
|
||||
- Look at the network parameter "maxunmeasuredbw" with the
|
||||
correct spelling. Fixes bug 40869; bugfix on 0.4.6.1-alpha.
|
@ -1781,7 +1781,7 @@ networkstatus_compute_consensus(smartlist_t *votes,
|
||||
|
||||
{
|
||||
max_unmeasured_bw_kb = dirvote_get_intermediate_param_value(
|
||||
param_list, "maxunmeasurdbw", DEFAULT_MAX_UNMEASURED_BW_KB);
|
||||
param_list, "maxunmeasuredbw", DEFAULT_MAX_UNMEASURED_BW_KB);
|
||||
if (max_unmeasured_bw_kb < 1)
|
||||
max_unmeasured_bw_kb = 1;
|
||||
}
|
||||
|
@ -4107,7 +4107,7 @@ vote_tweaks_for_umbw(networkstatus_t *v, int voter, time_t now)
|
||||
NULL, 0, -1);
|
||||
/* If we're using a non-default clip bandwidth, add it to net_params */
|
||||
if (alternate_clip_bw > 0) {
|
||||
tor_asprintf(&maxbw_param, "maxunmeasurdbw=%u", alternate_clip_bw);
|
||||
tor_asprintf(&maxbw_param, "maxunmeasuredbw=%u", alternate_clip_bw);
|
||||
tt_assert(maxbw_param);
|
||||
if (maxbw_param) {
|
||||
smartlist_add(v->net_params, maxbw_param);
|
||||
|
Loading…
Reference in New Issue
Block a user