From 1e9a8d3d392d8d6f013e5898aeb8ed3b20090082 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 28 Nov 2000 03:57:17 +0000 Subject: [PATCH] Warn that max-cache-size is not yet implemented. --- lib/dns/config/confctx.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/dns/config/confctx.c b/lib/dns/config/confctx.c index a2e5b17c56..6491534e18 100644 --- a/lib/dns/config/confctx.c +++ b/lib/dns/config/confctx.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: confctx.c,v 1.104 2000/11/25 02:43:47 marka Exp $ */ +/* $Id: confctx.c,v 1.105 2000/11/28 03:57:17 marka Exp $ */ #include @@ -437,6 +437,13 @@ dns_c_checkconfig(dns_c_ctx_t *cfg) "option 'check-names' is not yet implemented"); } + if (dns_c_ctx_getmaxcachesize(cfg, &uintval) != ISC_R_NOTFOUND) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG, + DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING, + "option 'max-cache-size' is not yet" + "implemented"); + } + if (dns_c_ctx_getminroots(cfg, &uintval) != ISC_R_NOTFOUND) { isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG, DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,