diff options
author | David Goulet <dgoulet@torproject.org> | 2020-05-05 13:24:03 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-05-05 14:24:04 -0400 |
commit | 445df9e7b5bbb0ea080bbed25dc4f3b52b0eb7df (patch) | |
tree | 46e10cb23731dd0dcc916fad4907bb4ab1b93caf /src/test/test_config.c | |
parent | 6dc9930d3a14c30af0f285a884476f33a782938c (diff) | |
download | tor-445df9e7b5bbb0ea080bbed25dc4f3b52b0eb7df.tar.gz tor-445df9e7b5bbb0ea080bbed25dc4f3b52b0eb7df.zip |
relay: New file relay_resolve_addr.{c|h}
This commit moves router_pick_published_address() and the related helper
functions into the new file.
The log_addr_has_changed() function has been made public in router.h so we can
use it in relay_resolve_addr.c.
This is a refactoring as part of Sponsor 55. Only code movement at this
commit.
Part of #33789
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r-- | src/test/test_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index 9ccdbc72c0..2a29d026b4 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -42,6 +42,7 @@ #include "core/or/policies.h" #include "feature/rend/rendclient.h" #include "feature/rend/rendservice.h" +#include "feature/relay/relay_resolve_addr.h" #include "feature/relay/router.h" #include "feature/relay/routermode.h" #include "feature/nodelist/dirlist.h" |