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/app/config | |
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/app/config')
-rw-r--r-- | src/app/config/resolve_addr.c | 6 | ||||
-rw-r--r-- | src/app/config/resolve_addr.h | 6 |
2 files changed, 6 insertions, 6 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 */ diff --git a/src/app/config/resolve_addr.h b/src/app/config/resolve_addr.h index 3747546402..2c8143df5b 100644 --- a/src/app/config/resolve_addr.h +++ b/src/app/config/resolve_addr.h @@ -11,9 +11,9 @@ #include "app/config/or_options_st.h" -int resolve_my_address(int warn_severity, const or_options_t *options, - uint32_t *addr_out, - const char **method_out, char **hostname_out); +int resolve_my_address_v4(int warn_severity, const or_options_t *options, + uint32_t *addr_out, + const char **method_out, char **hostname_out); uint32_t get_last_resolved_addr(void); void reset_last_resolved_addr(void); |