aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/dirauth/dirauth_sys.c')
-rw-r--r--src/feature/dirauth/dirauth_sys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_sys.c b/src/feature/dirauth/dirauth_sys.c
index b87fa5dc29..f691d5618a 100644
--- a/src/feature/dirauth/dirauth_sys.c
+++ b/src/feature/dirauth/dirauth_sys.c
@@ -6,6 +6,7 @@
#include "core/or/or.h"
+#include "feature/dirauth/bwauth.h"
#include "feature/dirauth/dirauth_sys.h"
#include "feature/dirauth/dirvote.h"
#include "feature/dirauth/dirauth_periodic.h"
@@ -25,6 +26,7 @@ subsys_dirauth_shutdown(void)
{
dirserv_free_fingerprint_list();
dirvote_free_all();
+ dirserv_clear_measured_bw_cache();
}
const struct subsys_fns_t sys_dirauth = {