aboutsummaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-06-12 11:57:31 +0200
committerNick Mathewson <nickm@torproject.org>2011-06-13 13:37:45 -0400
commit910472c5146ad3e436f1b5238570a2802662319b (patch)
tree1f78f1373c40801fa96a013ded930cbeec550dfb /src/or/dnsserv.c
parentf30327449009a7f00b0f5c2bd09a7eff615df3dd (diff)
downloadtor-910472c5146ad3e436f1b5238570a2802662319b.tar.gz
tor-910472c5146ad3e436f1b5238570a2802662319b.zip
client-side DNS proxy server: reply NOTIMPL to unsupported queries
Fix for bug 3369.
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 009ab5f344..f2c473dfc5 100644
--- a/src/or/dnsserv.c
+++ b/src/or/dnsserv.c
@@ -95,8 +95,8 @@ evdns_server_callback(struct evdns_server_request *req, void *_data)
}
if (!q) {
log_info(LD_APP, "None of the questions we got were ones we're willing "
- "to support. Sending NODATA.");
- evdns_server_request_respond(req, DNS_ERR_NONE);
+ "to support. Sending NOTIMPL.");
+ evdns_server_request_respond(req, DNS_ERR_NOTIMPL);
return;
}
if (q->type != EVDNS_TYPE_A) {