mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
hs-v3: Fix consensus param "hsdir-interval" name
The dir-spec.txt specifies it to be "hsdir_interval" (underscore). Fixes #24262 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
91188540af
commit
7df28ce299
3
changes/bug24262
Normal file
3
changes/bug24262
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (hidden service):
|
||||
- Fix the consensus parameter "hsdir-interval" to "hsdir_interval" so it
|
||||
matches the dir-spec.txt. Fixes bug 24262; bugfix on 0.3.1.1-alpha.
|
@ -56,7 +56,7 @@ hs_check_service_private_dir(const char *username, const char *path,
|
||||
STATIC uint64_t
|
||||
get_time_period_length(void)
|
||||
{
|
||||
int32_t time_period_length = networkstatus_get_param(NULL, "hsdir-interval",
|
||||
int32_t time_period_length = networkstatus_get_param(NULL, "hsdir_interval",
|
||||
HS_TIME_PERIOD_LENGTH_DEFAULT,
|
||||
HS_TIME_PERIOD_LENGTH_MIN,
|
||||
HS_TIME_PERIOD_LENGTH_MAX);
|
||||
|
Loading…
Reference in New Issue
Block a user