diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-18 18:51:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-18 18:51:34 +0000 |
commit | a62a24036ddb7449cd19f7c26de457779d30fdd1 (patch) | |
tree | d8d292866ef27c600a481f61ddf597f61c7c0b77 /src/or/dns.c | |
parent | 7dd78f15760ca556258517aff39b65c672267422 (diff) | |
download | tor-a62a24036ddb7449cd19f7c26de457779d30fdd1.tar.gz tor-a62a24036ddb7449cd19f7c26de457779d30fdd1.zip |
r18937@catbus: nickm | 2008-03-18 14:50:39 -0400
Fix the other lingering part of bug 617: make ClientDNSRejectInternalAddresses actually work.
svn:r14107
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index bb932450f5..e6347c5e00 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -481,7 +481,8 @@ send_resolved_hostname_cell(edge_connection_t *conn, const char *hostname) * parse it and place the address in <b>in</b> if present. Return 1 on success; * 0 if the address is not in in-addr.arpa format, and -1 if the address is * malformed. */ -static int +/* XXXX021 move this to util.c. */ +int parse_inaddr_arpa_address(const char *address, struct in_addr *in) { char buf[INET_NTOA_BUF_LEN]; |