[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/release-0.2.2] client-side DNS proxy server: reply NOTIMPL to unsupported queries



commit 910472c5146ad3e436f1b5238570a2802662319b
Author: intrigeri <intrigeri@xxxxxxxx>
Date:   Sun Jun 12 11:57:31 2011 +0200

    client-side DNS proxy server: reply NOTIMPL to unsupported queries
    
    Fix for bug 3369.
---
 src/or/dnsserv.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c
index 009ab5f..f2c473d 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) {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits