diff options
author | David Goulet <dgoulet@torproject.org> | 2022-11-09 15:29:04 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-11-09 15:29:04 -0500 |
commit | 560d44b08bbd00ef813b03202b98124901f17a9d (patch) | |
tree | f23fe0f44a923fa5cccb2ad59b7a08cb3b16a7ee /src/feature/nodelist | |
parent | bd055a258a71e7683e205b5f9df299053b137d32 (diff) | |
parent | 780ca741f3738877ad577f84fcebf6874427b2bc (diff) | |
download | tor-560d44b08bbd00ef813b03202b98124901f17a9d.tar.gz tor-560d44b08bbd00ef813b03202b98124901f17a9d.zip |
Merge branch 'maint-0.4.7'
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r-- | src/feature/nodelist/networkstatus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c index d53c6cc3a8..b994cfabc4 100644 --- a/src/feature/nodelist/networkstatus.c +++ b/src/feature/nodelist/networkstatus.c @@ -40,6 +40,7 @@ #include "core/or/or.h" #include "app/config/config.h" #include "core/mainloop/connection.h" +#include "core/mainloop/cpuworker.h" #include "core/mainloop/mainloop.h" #include "core/mainloop/netstatus.h" #include "core/or/channel.h" @@ -83,6 +84,7 @@ #include "feature/nodelist/routerlist.h" #include "feature/nodelist/torcert.h" #include "feature/relay/dns.h" +#include "feature/relay/onion_queue.h" #include "feature/relay/routermode.h" #include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_util.h" @@ -1667,6 +1669,8 @@ notify_before_networkstatus_changes(const networkstatus_t *old_c, relay_consensus_has_changed(new_c); hs_dos_consensus_has_changed(new_c); rep_hist_consensus_has_changed(new_c); + cpuworker_consensus_has_changed(new_c); + onion_consensus_has_changed(new_c); } /* Called after a new consensus has been put in the global state. It is safe |