diff options
author | David Goulet <dgoulet@torproject.org> | 2020-11-17 10:36:05 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-11-17 10:36:05 -0500 |
commit | 7c06707750f549fc22b74bdba7b9743d7b536e19 (patch) | |
tree | 0bc38810315dc407dc3ffb67eae0abf5b978080d /src/feature/relay | |
parent | 6c610117819a99eb33403be08ed7a11567ca65f9 (diff) | |
parent | 0812ecd517af406aa82e5a5deddbbe799e9d8b49 (diff) | |
download | tor-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.c | 5 |
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) { |