summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2015-04-06 20:09:34 +0300
committerNick Mathewson <nickm@torproject.org>2015-04-07 15:15:28 -0400
commitfda2aa7703b05074a4d5d433ac5e8411e695d897 (patch)
tree5d9ac6c56fc562c4fc1ed4b312a25be1c34de7d8 /src
parenta201a5396e9aef779386216e2a21bfeb75d3d9c6 (diff)
downloadtor-fda2aa7703b05074a4d5d433ac5e8411e695d897.tar.gz
tor-fda2aa7703b05074a4d5d433ac5e8411e695d897.zip
Set ConnDirectionStatistics back to 0 if not running as relay.
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index d65d35dfc2..8319f7ca01 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1736,6 +1736,7 @@ options_act(const or_options_t *old_options)
if (!public_server_mode(options)) {
options->CellStatistics = 0;
options->EntryStatistics = 0;
+ options->ConnDirectionStatistics = 0;
options->HiddenServiceStatistics = 0;
options->ExitPortStatistics = 0;
}