diff options
author | David Goulet <dgoulet@torproject.org> | 2020-06-15 15:27:32 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-06-23 09:25:36 -0400 |
commit | 6da8c0b4fa9243158c860035c27d2d9bba17a832 (patch) | |
tree | be86d0d0de848c6ef3a209a3626f782fcdf12a84 /src/feature/dirauth/dirauth_config.c | |
parent | 47f9edde699ad687884b6222b557c10dee2592c9 (diff) | |
download | tor-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/dirauth/dirauth_config.c')
-rw-r--r-- | src/feature/dirauth/dirauth_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirauth_config.c b/src/feature/dirauth/dirauth_config.c index a0b6de7eca..888b8e7d94 100644 --- a/src/feature/dirauth/dirauth_config.c +++ b/src/feature/dirauth/dirauth_config.c @@ -78,7 +78,7 @@ options_validate_dirauth_mode(const or_options_t *old_options, /* confirm that our address isn't broken, so we can complain now */ uint32_t tmp; - if (resolve_my_address(LOG_WARN, options, &tmp, NULL, NULL) < 0) + if (resolve_my_address_v4(LOG_WARN, options, &tmp, NULL, NULL) < 0) REJECT("Failed to resolve/guess local address. See logs for details."); if (!options->ContactInfo && !options->TestingTorNetwork) |