Commit b0bab827 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Merge remote-tracking branch 'arma/bug3886'

Conflicts:
	src/or/dirserv.c
parents 99618a96 44f6be46
Loading
Loading
Loading
Loading

changes/bug3886

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes:
    - Fix an edge case where TestingTorNetwork is set but the authorities
      and relays all have an uptime of zero, where the private Tor network
      could briefly lack support for hidden services. Fixes bug 3886;
      bugfix on 0.2.2.18-alpha.
+1 −1
Original line number Diff line number Diff line
@@ -1855,7 +1855,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router,
   * *clients* suffering from bug 2722 are obsolete.  The first version
   * to fix the bug was 0.2.2.25-alpha. */
  return (router->wants_to_be_hs_dir && router->dir_port &&
          uptime > get_options()->MinUptimeHidServDirectoryV2 &&
          uptime >= get_options()->MinUptimeHidServDirectoryV2 &&
          node->is_running);
}