From bd28551763bd008be5a6f676410d9b6b1d011bf6 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Wed, 21 Oct 2020 14:32:30 +0300 Subject: Introduce v3_stats_t structure and some of its methods. --- src/feature/relay/router.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/feature/relay/router.c') diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c index 5ca21964b6..ea631e18fe 100644 --- a/src/feature/relay/router.c +++ b/src/feature/relay/router.c @@ -3288,6 +3288,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) { -- cgit v1.2.3-54-g00ecf