From 9eba65bd8b688497de139b57ac72e5b8a40bb728 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Fri, 29 Jan 2021 18:21:30 +0200 Subject: test: Add test for exits blocking reentry to the network Signed-off-by: David Goulet --- src/feature/nodelist/dirlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/feature/nodelist/dirlist.c') diff --git a/src/feature/nodelist/dirlist.c b/src/feature/nodelist/dirlist.c index 25f769dd5a..b4abffad67 100644 --- a/src/feature/nodelist/dirlist.c +++ b/src/feature/nodelist/dirlist.c @@ -71,8 +71,8 @@ add_trusted_dir_to_nodelist_addr_set(const dir_server_t *dir) /** Go over the trusted directory server list and add their address(es) to the * nodelist address set. This is called every time a new consensus is set. */ -void -dirlist_add_trusted_dir_addresses(void) +MOCK_IMPL(void, +dirlist_add_trusted_dir_addresses, (void)) { if (!trusted_dir_servers) { return; -- cgit v1.2.3-54-g00ecf