452. [bug] Warn if the unimplemented option statistics-file

is specified in named.conf. [RT #301]
This commit is contained in:
Andreas Gustafsson 2000-09-13 20:49:40 +00:00
parent 3a1ad1b045
commit afd2f40b3c
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,7 @@
451 [func] Update forwarding implememted.
452. [bug] Warn if the unimplemented option "statistics-file"
is specified in named.conf. [RT #301]
451. [func] Update forwarding implememted.
450. [func] New function ns_client_sendraw().

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: confctx.c,v 1.86 2000/09/07 19:24:33 halley Exp $ */
/* $Id: confctx.c,v 1.87 2000/09/13 20:49:40 gson Exp $ */
#include <config.h>
@ -359,6 +359,14 @@ dns_c_checkconfig(dns_c_ctx_t *cfg)
}
if (dns_c_ctx_getstatsfilename(cfg, &cpval) != ISC_R_NOTFOUND) {
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
"option 'statistics-file' is not yet "
"implemented");
}
if (dns_c_ctx_getmemstatsfilename(cfg, &cpval) != ISC_R_NOTFOUND) {
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,