]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1333. [func] Query log now says if the query was signed (S) or
authorMark Andrews <marka@isc.org>
Tue, 25 Jun 2002 04:12:51 +0000 (04:12 +0000)
committerMark Andrews <marka@isc.org>
Tue, 25 Jun 2002 04:12:51 +0000 (04:12 +0000)
                        if EDNS was used (E).

CHANGES
bin/named/query.c

diff --git a/CHANGES b/CHANGES
index f0fe8fdf7ded4a9ed1d18accea5122c29555e3a1..eea376f97d9861076921c34dfa784eee51bf53e8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1333.  [func]          Query log now says if the query was signed (S) or
+                       if EDNS was used (E).
+
 1332.  [func]          Log TSIG key used w/ outgoing zone transfers.
 
 1331.  [bug]           lwres_getrrsetbyname leaked memory.  [RT #3159]
index a1a45236a4c2bf50f12a3149d22a6bbbdd750291..af2d20a3c84b48b56590fd6f7e4239241d867ebf 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.c,v 1.220 2002/06/17 04:01:08 marka Exp $ */
+/* $Id: query.c,v 1.221 2002/06/25 04:12:51 marka Exp $ */
 
 #include <config.h>
 
@@ -3251,8 +3251,10 @@ log_query(ns_client_t *client) {
        dns_rdatatype_format(rdataset->type, typename, sizeof(typename));
 
        ns_client_log(client, NS_LOGCATEGORY_QUERIES, NS_LOGMODULE_QUERY,
-                     level, "query: %s %s %s %s", namebuf, classname,
-                     typename, WANTRECURSION(client) ? "+" : "-");
+                     level, "query: %s %s %s %s%s%s", namebuf, classname,
+                     typename, WANTRECURSION(client) ? "+" : "-",
+                     (client->signer != NULL) ? "S": "",
+                     (client->opt != NULL) ? "E" : "");
 }
 
 void