diff options
author | juga0 <juga@riseup.net> | 2018-05-28 14:41:55 +0000 |
---|---|---|
committer | juga0 <juga@riseup.net> | 2018-07-16 14:43:48 +0000 |
commit | e5dd46beabb7f456fcf4456271676bc507886fe5 (patch) | |
tree | 7344784e22c181373caf368b588b6ac10f88db31 /src/app | |
parent | 8505522e508c8d2379afbd86154a910948cf8c70 (diff) | |
download | tor-e5dd46beabb7f456fcf4456271676bc507886fe5.tar.gz tor-e5dd46beabb7f456fcf4456271676bc507886fe5.zip |
Add the Bandwidth List file headers to votes
* add bwlist_headers argument to dirserv_read_measured_bandwidth
in order to store all the headers found when parsing the file
* add bwlist_headers to networkstatus_t in order to store the
the headers found by the previous function
* include the bandwidth headers as string in vote documents
* add test to check that dirserv_read_measured_bandwidth generates
the bwlist_headers
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/config/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index 1f4f099be7..7e78357cc6 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -3560,7 +3560,7 @@ options_validate(or_options_t *old_options, or_options_t *options, "(Bridge/V3)AuthoritativeDir is set."); /* If we have a v3bandwidthsfile and it's broken, complain on startup */ if (options->V3BandwidthsFile && !old_options) { - dirserv_read_measured_bandwidths(options->V3BandwidthsFile, NULL); + dirserv_read_measured_bandwidths(options->V3BandwidthsFile, NULL, NULL); } /* same for guardfraction file */ if (options->GuardfractionFile && !old_options) { |