aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2023-10-11 14:51:59 -0400
committerDavid Goulet <dgoulet@torproject.org>2023-10-11 14:51:59 -0400
commit766f7edd7207bb7829f77a31573d2ad399501f6c (patch)
treeaa00a65a444fa642bd467cade33971aeb8853577
parent75f45140d6eb63f8837292384c6d9799d35c3823 (diff)
parentaa5e8510a314aa78fa8ee5d60f87c16aebbd9aca (diff)
downloadtor-766f7edd7207bb7829f77a31573d2ad399501f6c.tar.gz
tor-766f7edd7207bb7829f77a31573d2ad399501f6c.zip
Merge branch 'maint-0.4.8' into release-0.4.8
-rw-r--r--changes/bug408693
-rw-r--r--src/feature/dirauth/dirvote.c2
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;
}