summaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-14 22:20:18 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:57 -0500
commit053f2cb7c89a4f6b52fa601f83f798d45ab8eca4 (patch)
tree5119094fee91221235e99fcd777e327a392ca3fc /src/or/dnsserv.c
parent50af1087c4e92dfb4a30ddce4f6046970d6108e2 (diff)
downloadtor-053f2cb7c89a4f6b52fa601f83f798d45ab8eca4.tar.gz
tor-053f2cb7c89a4f6b52fa601f83f798d45ab8eca4.zip
Let tor-resolve generate PTR requests for IPv6 addresses
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 5875d96b8b..f5d430bf38 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -89,6 +89,7 @@ evdns_server_callback(struct evdns_server_request *req, void *data_)
continue;
switch (req->questions[i]->type) {
case EVDNS_TYPE_A:
+ case EVDNS_TYPE_AAAA:
case EVDNS_TYPE_PTR:
q = req->questions[i];
default: