diff options
author | David Goulet <dgoulet@torproject.org> | 2020-06-24 10:42:00 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-06-24 13:51:37 -0400 |
commit | 29a35d262c4b60535050748df78325c78060c535 (patch) | |
tree | e8c4d10a8e9757f5a74427de874bd99205f0e7c0 /src/app/config/resolve_addr.h | |
parent | 59f5c3d26337ba82be2a7cb2af02ba77e02c1b87 (diff) | |
download | tor-29a35d262c4b60535050748df78325c78060c535.tar.gz tor-29a35d262c4b60535050748df78325c78060c535.zip |
addr: Rename resolved_addr_is_local()
Better function name.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/app/config/resolve_addr.h')
-rw-r--r-- | src/app/config/resolve_addr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/resolve_addr.h b/src/app/config/resolve_addr.h index ff732561c6..54f55ba36c 100644 --- a/src/app/config/resolve_addr.h +++ b/src/app/config/resolve_addr.h @@ -18,7 +18,7 @@ bool find_my_address(const or_options_t *options, int family, void resolved_addr_get_last(int family, tor_addr_t *addr_out); void resolved_addr_reset_last(int family); -MOCK_DECL(bool, resolved_addr_is_local, (const tor_addr_t *addr)); +MOCK_DECL(bool, is_local_to_resolve_addr, (const tor_addr_t *addr)); #ifdef RESOLVE_ADDR_PRIVATE |