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/feature/relay/include.am | |
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/feature/relay/include.am')
-rw-r--r-- | src/feature/relay/include.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/relay/include.am b/src/feature/relay/include.am index 654432c34b..2aa2985607 100644 --- a/src/feature/relay/include.am +++ b/src/feature/relay/include.am @@ -2,6 +2,7 @@ # Legacy shared relay code: migrate to the relay module over time LIBTOR_APP_A_SOURCES += \ src/feature/relay/onion_queue.c \ + src/feature/relay/relay_resolve_addr.c \ src/feature/relay/router.c # The Relay module. @@ -31,6 +32,7 @@ noinst_HEADERS += \ src/feature/relay/relay_handshake.h \ src/feature/relay/relay_periodic.h \ src/feature/relay/relay_sys.h \ + src/feature/relay/relay_resolve_addr.h \ src/feature/relay/router.h \ src/feature/relay/routerkeys.h \ src/feature/relay/routermode.h \ |