diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/net/address.c | 2 | ||||
-rw-r--r-- | src/lib/net/address.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/net/address.c b/src/lib/net/address.c index 9a90093aef..af0e58fa4f 100644 --- a/src/lib/net/address.c +++ b/src/lib/net/address.c @@ -907,7 +907,7 @@ tor_addr_from_in6(tor_addr_t *dest, const struct in6_addr *in6) * <b>src</b> must be an IPv6 address, if it is not, log a warning, and clear * <b>dest</b>. */ void -tor_addr_get_ipv6_bytes(char *dest, const tor_addr_t *src) +tor_addr_copy_ipv6_bytes(char *dest, const tor_addr_t *src) { tor_assert(dest); tor_assert(src); diff --git a/src/lib/net/address.h b/src/lib/net/address.h index 651d6bc714..89b1cae322 100644 --- a/src/lib/net/address.h +++ b/src/lib/net/address.h @@ -309,7 +309,7 @@ void tor_addr_from_ipv6_bytes(tor_addr_t *dest, const char *bytes); #define tor_addr_from_in(dest, in) \ tor_addr_from_ipv4n((dest), (in)->s_addr); void tor_addr_from_in6(tor_addr_t *dest, const struct in6_addr *in6); -void tor_addr_get_ipv6_bytes(char *dest, const tor_addr_t *src); +void tor_addr_copy_ipv6_bytes(char *dest, const tor_addr_t *src); int tor_addr_is_null(const tor_addr_t *addr); int tor_addr_is_loopback(const tor_addr_t *addr); |