From dc8a97366acad9c3be558976309008fc93da5b5d Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 27 Sep 2000 20:10:39 +0000 Subject: [PATCH] 492. [bug] The error messages printed when an IP match list contained a network address with a nonzero host part where not sufficiently detailed. [RT #365] --- CHANGES | 4 ++++ lib/dns/config/confip.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index efb07176e2..a4c8878a4e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ + 492. [bug] The error messages printed when an IP match list + contained a network address with a nonzero host + part where not sufficiently detailed. [RT #365] + 492. [bug] attempting to reload a zone caused the server fail to shutdown cleanly. [RT #360] diff --git a/lib/dns/config/confip.c b/lib/dns/config/confip.c index f4989c941f..ac8100232b 100644 --- a/lib/dns/config/confip.c +++ b/lib/dns/config/confip.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: confip.c,v 1.36 2000/08/02 21:58:19 gson Exp $ */ +/* $Id: confip.c,v 1.37 2000/09/27 20:10:39 gson Exp $ */ #include @@ -350,6 +350,9 @@ dns_c_ipmatchpattern_new(isc_mem_t *mem, res = checkmask(&address, maskbits); if (res != ISC_R_SUCCESS) { + isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG, + DNS_LOGMODULE_CONFIG, ISC_LOG_ERROR, + "host portion of network address is not zero"); return (res); }