2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

1333. [func] Query log now says if the query was signed (S) or

if EDNS was used (E).
This commit is contained in:
Mark Andrews
2002-06-25 04:12:51 +00:00
parent 0423090da1
commit ac65e45126
2 changed files with 8 additions and 3 deletions

View 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