diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-05 10:47:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-05 10:47:05 -0400 |
commit | 2468a1bd2c3a989c4225897e58b5bf09ac08ba61 (patch) | |
tree | 7290e883b4fb30372f348934dfafe1ace2203492 /src/or/config.c | |
parent | 38642a9369faa3e511c32a59a52536fd396de45a (diff) | |
download | tor-2468a1bd2c3a989c4225897e58b5bf09ac08ba61.tar.gz tor-2468a1bd2c3a989c4225897e58b5bf09ac08ba61.zip |
Revert "Disable (Cell,DirReq,Entry,ExitPort)Statistics on bridges"
This reverts commit 981e896dd2eaf69798bb503c271306ee779dd6d2.
Apparently Karsten still needs DirReqStatistics for bridges; see
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c index 03186bf010..090d96c155 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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; |