Merge branch 'bug40869_048' into 'maint-0.4.8'

Fix the spelling of maxunmeasur(e)dbw (backport to 0.4.8)

See merge request tpo/core/tor!774
This commit is contained in:
David Goulet 2023-10-11 18:51:44 +00:00
commit aa5e8510a3
2 changed files with 4 additions and 1 deletions

3
changes/bug40869 Normal file
View 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.

View File

@ -1781,7 +1781,7 @@ networkstatus_compute_consensus(smartlist_t *votes,
params, "maxunmeasuredbw", DEFAULT_MAX_UNMEASURED_BW_KB);
} else {
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;
}