aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-03-18 18:51:34 +0000
committerNick Mathewson <nickm@torproject.org>2008-03-18 18:51:34 +0000
commita62a24036ddb7449cd19f7c26de457779d30fdd1 (patch)
treed8d292866ef27c600a481f61ddf597f61c7c0b77 /src/or/dns.c
parent7dd78f15760ca556258517aff39b65c672267422 (diff)
downloadtor-a62a24036ddb7449cd19f7c26de457779d30fdd1.tar
tor-a62a24036ddb7449cd19f7c26de457779d30fdd1.tar.gz
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index bb932450f..e6347c5e0 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];