aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/resolve_addr.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-06-15 15:27:32 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-06-23 09:25:36 -0400
commit6da8c0b4fa9243158c860035c27d2d9bba17a832 (patch)
treebe86d0d0de848c6ef3a209a3626f782fcdf12a84 /src/app/config/resolve_addr.c
parent47f9edde699ad687884b6222b557c10dee2592c9 (diff)
downloadtor-6da8c0b4fa9243158c860035c27d2d9bba17a832.tar.gz
tor-6da8c0b4fa9243158c860035c27d2d9bba17a832.zip
addr: Rename resolve_my_address to be v4 specific
Part of #33233 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/app/config/resolve_addr.c')
-rw-r--r--src/app/config/resolve_addr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/config/resolve_addr.c b/src/app/config/resolve_addr.c
index 5723a00fa7..fe375848d7 100644
--- a/src/app/config/resolve_addr.c
+++ b/src/app/config/resolve_addr.c
@@ -85,9 +85,9 @@ reset_last_resolved_addr(void)
* XXXX ipv6
*/
int
-resolve_my_address(int warn_severity, const or_options_t *options,
- uint32_t *addr_out,
- const char **method_out, char **hostname_out)
+resolve_my_address_v4(int warn_severity, const or_options_t *options,
+ uint32_t *addr_out,
+ const char **method_out, char **hostname_out)
{
struct in_addr in;
uint32_t addr; /* host order */