mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Whoops: test the "wrong" name for maxunmeasurdbw (sic).
Now that we never use an earlier consensus method, our tests actually hit this, and we find that we have misspelled "maxunmeasurdbw" (sic) in dirvote.c. I have opened ticket #40869 to track this misspelling.
This commit is contained in:
parent
a937648022
commit
a7993bbd72
@ -4107,7 +4107,7 @@ vote_tweaks_for_umbw(networkstatus_t *v, int voter, time_t now)
|
|||||||
NULL, 0, -1);
|
NULL, 0, -1);
|
||||||
/* If we're using a non-default clip bandwidth, add it to net_params */
|
/* If we're using a non-default clip bandwidth, add it to net_params */
|
||||||
if (alternate_clip_bw > 0) {
|
if (alternate_clip_bw > 0) {
|
||||||
tor_asprintf(&maxbw_param, "maxunmeasuredbw=%u", alternate_clip_bw);
|
tor_asprintf(&maxbw_param, "maxunmeasurdbw=%u", alternate_clip_bw);
|
||||||
tt_assert(maxbw_param);
|
tt_assert(maxbw_param);
|
||||||
if (maxbw_param) {
|
if (maxbw_param) {
|
||||||
smartlist_add(v->net_params, maxbw_param);
|
smartlist_add(v->net_params, maxbw_param);
|
||||||
|
Loading…
Reference in New Issue
Block a user