aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/dirlist.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-01-28 09:26:28 -0500
committerDavid Goulet <dgoulet@torproject.org>2020-02-11 09:35:54 -0500
commitbd4f4cb5f0f98f224f0f707c6dd00d2fd8e55a7a (patch)
tree989337fe91b11794f4fb97d6629ae218360c56b6 /src/feature/nodelist/dirlist.h
parent4152c349b4b9f7b2336a9d97356a28471e8d8f27 (diff)
downloadtor-bd4f4cb5f0f98f224f0f707c6dd00d2fd8e55a7a.tar.gz
tor-bd4f4cb5f0f98f224f0f707c6dd00d2fd8e55a7a.zip
dirlist: Add configured trusted dir to the nodelist address set
The configured, within the torrc or hardcoded, directory authorities addresses are now added to the nodelist address set. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist/dirlist.h')
-rw-r--r--src/feature/nodelist/dirlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/nodelist/dirlist.h b/src/feature/nodelist/dirlist.h
index b6dda32d85..d302ff5f6c 100644
--- a/src/feature/nodelist/dirlist.h
+++ b/src/feature/nodelist/dirlist.h
@@ -44,4 +44,6 @@ void dir_server_add(dir_server_t *ent);
void clear_dir_servers(void);
void dirlist_free_all(void);
+void dirlist_add_trusted_addresses(void);
+
#endif /* !defined(TOR_DIRLIST_H) */