From 230bc05e7e4a6ba7fa4ee396048ab669552dcbe2 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 11 Apr 2000 18:17:35 +0000 Subject: [PATCH] added DNS_LOGCATEGORY_DNSSEC and DNS_LOGMODULE_VALIDATOR --- lib/dns/include/dns/log.h | 7 ++++--- lib/dns/log.c | 13 +++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/dns/include/dns/log.h b/lib/dns/include/dns/log.h index 2e1cda7d5c..52e305e658 100644 --- a/lib/dns/include/dns/log.h +++ b/lib/dns/include/dns/log.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: log.h,v 1.13 2000/03/23 00:53:45 gson Exp $ */ +/* $Id: log.h,v 1.14 2000/04/11 18:17:35 gson Exp $ */ /* Principal Authors: DCL */ @@ -36,11 +36,12 @@ extern isc_logmodule_t dns_modules[]; #define DNS_LOGCATEGORY_DATABASE (&dns_categories[1]) #define DNS_LOGCATEGORY_SECURITY (&dns_categories[2]) #define DNS_LOGCATEGORY_CONFIG (&dns_categories[3]) -/* Unused slot */ +#define DNS_LOGCATEGORY_DNSSEC (&dns_categories[4]) #define DNS_LOGCATEGORY_RESOLVER (&dns_categories[5]) #define DNS_LOGCATEGORY_XFER_IN (&dns_categories[6]) #define DNS_LOGCATEGORY_XFER_OUT (&dns_categories[7]) + /* Backwards compatibility. */ #define DNS_LOGCATEGORY_GENERAL ISC_LOGCATEGORY_GENERAL @@ -60,7 +61,7 @@ extern isc_logmodule_t dns_modules[]; #define DNS_LOGMODULE_XFER_IN (&dns_modules[13]) #define DNS_LOGMODULE_XFER_OUT (&dns_modules[14]) #define DNS_LOGMODULE_ACL (&dns_modules[15]) - +#define DNS_LOGMODULE_VALIDATOR (&dns_modules[16]) void dns_log_init(isc_log_t *lctx); /* diff --git a/lib/dns/log.c b/lib/dns/log.c index ab87b8f918..2b3ad6d060 100644 --- a/lib/dns/log.c +++ b/lib/dns/log.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: log.c,v 1.15 2000/03/23 00:53:44 gson Exp $ */ +/* $Id: log.c,v 1.16 2000/04/11 18:17:35 gson Exp $ */ /* Principal Authors: DCL */ @@ -35,7 +35,7 @@ isc_logcategory_t dns_categories[] = { { "database", 0 }, { "security", 0 }, { "config", 0 }, - { "", 0 }, + { "dnssec", 0 }, { "resolver", 0 }, { "xfer-in", 0 }, { "xfer-out", 0 }, @@ -48,9 +48,9 @@ isc_logcategory_t dns_categories[] = { */ isc_logmodule_t dns_modules[] = { { "dns/db", 0 }, - { "dns/rbtdb", 0 }, - { "dns/rbtdb64", 0 }, - { "dns/rbt", 0 }, + { "dns/rbtdb", 0 }, + { "dns/rbtdb64", 0 }, + { "dns/rbt", 0 }, { "dns/rdata", 0 }, { "dns/master", 0 }, { "dns/message", 0 }, @@ -62,7 +62,8 @@ isc_logmodule_t dns_modules[] = { { "dns/adb", 0 }, { "dns/xfrin", 0 }, { "dns/xfrout", 0 }, - { "dns/acl", 0 }, + { "dns/acl", 0 }, + { "dns/validator", 0 }, { NULL, 0 } };