summaryrefslogtreecommitdiff
path: root/src/feature/relay
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-11-17 10:36:05 -0500
committerDavid Goulet <dgoulet@torproject.org>2020-11-17 10:36:05 -0500
commit7c06707750f549fc22b74bdba7b9743d7b536e19 (patch)
tree0bc38810315dc407dc3ffb67eae0abf5b978080d /src/feature/relay
parent6c610117819a99eb33403be08ed7a11567ca65f9 (diff)
parent0812ecd517af406aa82e5a5deddbbe799e9d8b49 (diff)
downloadtor-7c06707750f549fc22b74bdba7b9743d7b536e19.tar.gz
tor-7c06707750f549fc22b74bdba7b9743d7b536e19.zip
Merge branch 'tor-gitlab/mr/182' into master
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/router.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 3aa9561f4f..89ac40bb4d 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -3306,6 +3306,11 @@ extrainfo_dump_to_string_stats_helper(smartlist_t *chunks,
"hidserv-stats-end", now, &contents) > 0) {
smartlist_add(chunks, contents);
}
+ if (options->HiddenServiceStatistics &&
+ load_stats_file("stats"PATH_SEPARATOR"hidserv-v3-stats",
+ "hidserv-v3-stats-end", now, &contents) > 0) {
+ smartlist_add(chunks, contents);
+ }
if (options->EntryStatistics &&
load_stats_file("stats"PATH_SEPARATOR"entry-stats",
"entry-stats-end", now, &contents) > 0) {