]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix the spelling of maxunmeasur(e)dbw.
authorNick Mathewson <nickm@torproject.org>
Fri, 6 Oct 2023 03:28:05 +0000 (23:28 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 Oct 2023 14:08:53 +0000 (10:08 -0400)
This has been misspelled when using consensus method 31 or later
since 0.4.6.1-alpha.  Fixes bug 40869.

This commit is a backport of b9b0abd6c26d9b361923 to 0.4.8.

changes/bug40869 [new file with mode: 0644]
src/feature/dirauth/dirvote.c

diff --git a/changes/bug40869 b/changes/bug40869
new file mode 100644 (file)
index 0000000..da96663
--- /dev/null
@@ -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.
index 77148c8725203eefdaa28c92c945c20ef6c62677..1080415827673e3052966d14cb09669bdc2e9155 100644 (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;
     }