diff options
author | David Goulet <dgoulet@torproject.org> | 2023-10-11 18:51:44 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-10-11 18:51:44 +0000 |
commit | aa5e8510a314aa78fa8ee5d60f87c16aebbd9aca (patch) | |
tree | 18fbdd3f45a5ec605bae7a0dea0ae67eb78ef889 | |
parent | c11ba9dea8aea6f502e7041b6376983cf295666f (diff) | |
parent | 8c22fd4a4daf37a55888e606b9e08fdc5a4aecd5 (diff) | |
download | tor-aa5e8510a314aa78fa8ee5d60f87c16aebbd9aca.tar.gz tor-aa5e8510a314aa78fa8ee5d60f87c16aebbd9aca.zip |
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
-rw-r--r-- | changes/bug40869 | 3 | ||||
-rw-r--r-- | src/feature/dirauth/dirvote.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug40869 b/changes/bug40869 new file mode 100644 index 0000000000..da9666333f --- /dev/null +++ b/changes/bug40869 @@ -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. diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 77148c8725..1080415827 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -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; } |