aboutsummaryrefslogtreecommitdiff
path: root/src/feature/client/transports.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-05-05 13:24:03 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-05-05 14:24:04 -0400
commit445df9e7b5bbb0ea080bbed25dc4f3b52b0eb7df (patch)
tree46e10cb23731dd0dcc916fad4907bb4ab1b93caf /src/feature/client/transports.c
parent6dc9930d3a14c30af0f285a884476f33a782938c (diff)
downloadtor-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/client/transports.c')
-rw-r--r--src/feature/client/transports.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/client/transports.c b/src/feature/client/transports.c
index 55069bb60a..b2a39c6787 100644
--- a/src/feature/client/transports.c
+++ b/src/feature/client/transports.c
@@ -97,6 +97,7 @@
#include "core/or/circuitbuild.h"
#include "feature/client/transports.h"
#include "feature/relay/router.h"
+#include "feature/relay/relay_resolve_addr.h"
/* 31851: split the server transport code out of the client module */
#include "feature/relay/transport_config.h"
#include "app/config/statefile.h"