Commit 7df28ce2 authored by David Goulet's avatar David Goulet 🐼
Browse files

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's avatarDavid Goulet <dgoulet@torproject.org>
parent 91188540
Loading
Loading
Loading
Loading

changes/bug24262

0 → 100644
+3 −0
Original line number Diff line number Diff line
  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.
+1 −1
Original line number Diff line number Diff line
@@ -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);