diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-25 18:22:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-25 18:22:37 +0000 |
commit | bb524e99c9dd9555b0f77275bbb5574d47689fc8 (patch) | |
tree | 699a0e8d7597094186ec21b0a3305b81506a2690 /src/common/util.h | |
parent | 39fe91b9a281a3ec8504bf7933a63918038a9b5a (diff) | |
download | tor-bb524e99c9dd9555b0f77275bbb5574d47689fc8.tar.gz tor-bb524e99c9dd9555b0f77275bbb5574d47689fc8.zip |
r12955@catbus: nickm | 2007-05-25 13:17:30 -0400
First bare stubs of ipv6 work: commit some (untested, hence doublessly broken) implementations of inet_ntop/pton for systems that lack them.
svn:r10326
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index f04160935d..ab8aea86e8 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -250,7 +250,7 @@ int parse_addr_and_port_range(const char *s, uint32_t *addr_out, uint16_t *port_max_out); int addr_mask_get_bits(uint32_t mask); #define INET_NTOA_BUF_LEN 16 -int tor_inet_ntoa(struct in_addr *in, char *buf, size_t buf_len); +int tor_inet_ntoa(const struct in_addr *in, char *buf, size_t buf_len); char *tor_dup_addr(uint32_t addr) ATTR_MALLOC; int get_interface_address(int severity, uint32_t *addr); |