diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-30 12:48:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-05-02 09:22:13 -0400 |
commit | 31fb4a78451a98a8d62e1f52e75e372a8a2dd48b (patch) | |
tree | 83f66c68ca9df8fe9a7884484501cd33e1855f99 /src/feature/dirauth/dirauth_sys.c | |
parent | 6f42efaa5926a2f1be89e3b591311f2130931db8 (diff) | |
download | tor-31fb4a78451a98a8d62e1f52e75e372a8a2dd48b.tar.gz tor-31fb4a78451a98a8d62e1f52e75e372a8a2dd48b.zip |
Make the bwauth.c module dirauth-only.
Diffstat (limited to 'src/feature/dirauth/dirauth_sys.c')
-rw-r--r-- | src/feature/dirauth/dirauth_sys.c | 2 |
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 = { |