Commit 2468a1bd authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Revert "Disable (Cell,DirReq,Entry,ExitPort)Statistics on bridges"

This reverts commit 981e896d.

Apparently Karsten still needs DirReqStatistics for bridges; see
parent 38642a93
Loading
Loading
Loading
Loading

changes/bug5824

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
  o Minor bugfixes:
    - Bridges now never collect statistics that were designed for
      relays. Fix for bug 5824; bugfix on 0.2.1.17-rc.
+2 −3
Original line number Diff line number Diff line
@@ -1703,9 +1703,8 @@ options_act(const or_options_t *old_options)
    time_t now = time(NULL);
    int print_notice = 0;

    /* If we aren't acting as a server, or we are a bridge, we can't collect
     * stats anyway. */
    if (!public_server_mode(options)) {
    /* If we aren't acting as a server, we can't collect stats anyway. */
    if (!server_mode(options)) {
      options->CellStatistics = 0;
      options->DirReqStatistics = 0;
      options->EntryStatistics = 0;