summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-25 12:58:23 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-25 12:58:23 -0500
commit11adf0f46f88bc07c0c080b3b8f1725b0ad382c6 (patch)
treed033ff3529317e18c7a1feb51fc4be5594fb5093 /src/core
parentc9bd3579f7e77076eb3543cc5875ed8f9a0d689a (diff)
parent84f2e282049dfb892f4ba849fae4e0c19b7a4166 (diff)
downloadtor-11adf0f46f88bc07c0c080b3b8f1725b0ad382c6.tar.gz
tor-11adf0f46f88bc07c0c080b3b8f1725b0ad382c6.zip
Merge remote-tracking branch 'tor-github/pr/1750/head'
Diffstat (limited to 'src/core')
-rw-r--r--src/core/or/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/or/status.c b/src/core/or/status.c
index f9f603f3b7..ed8448883c 100644
--- a/src/core/or/status.c
+++ b/src/core/or/status.c
@@ -17,6 +17,7 @@
#include "core/or/or.h"
#include "core/or/circuituse.h"
#include "app/config/config.h"
+#include "feature/dirclient/dirclient.h"
#include "core/or/status.h"
#include "feature/nodelist/nodelist.h"
#include "core/or/relay.h"
@@ -146,6 +147,8 @@ log_heartbeat(time_t now)
uptime, count_circuits(), bw_sent, bw_rcvd,
hibernating?" We are currently hibernating.":"");
+ dirclient_dump_total_dls();
+
if (server_mode(options) && accounting_is_enabled(options) && !hibernating) {
log_accounting(now, options);
}