aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/router.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/feature/relay/router.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/feature/relay/router.c')
-rw-r--r--src/feature/relay/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 6914946729..4d5ed3a3e1 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -2552,7 +2552,7 @@ check_descriptor_ipaddress_changed(time_t now)
/* XXXX ipv6 */
prev = my_ri->addr;
- if (resolve_my_address(LOG_INFO, options, &cur, &method, &hostname) < 0) {
+ if (resolve_my_address_v4(LOG_INFO, options, &cur, &method, &hostname) < 0) {
log_info(LD_CONFIG,"options->Address didn't resolve into an IP.");
return;
}