diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-13 11:48:56 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-11-13 11:48:56 -0500 |
commit | 7df28ce2990cc0890b05767f07756990e0d91e97 (patch) | |
tree | 5538542048b564369b15fe161a776e6023824910 /src/or/hs_common.c | |
parent | 91188540af1ce185e7aa7ab19467a42bc9ea7722 (diff) | |
download | tor-7df28ce2990cc0890b05767f07756990e0d91e97.tar.gz tor-7df28ce2990cc0890b05767f07756990e0d91e97.zip |
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>
Diffstat (limited to 'src/or/hs_common.c')
-rw-r--r-- | src/or/hs_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_common.c b/src/or/hs_common.c index 42508126f8..7cef5a8e2c 100644 --- a/src/or/hs_common.c +++ b/src/or/hs_common.c @@ -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); |