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

Suppress spurious "hint zones do not have a dialup field".

This commit is contained in:
Mark Andrews
2000-10-11 05:15:23 +00:00
parent cfdb88eb33
commit c7294f9c0b

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: confzone.c,v 1.58 2000/09/27 01:50:01 bwelling Exp $ */
/* $Id: confzone.c,v 1.59 2000/10/11 05:15:23 marka Exp $ */
#include <config.h>
@@ -673,7 +673,8 @@ dns_c_zone_validate(dns_c_zone_t *zone)
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
checknameserror, zone->name);
if (dns_c_zone_getdialup(zone, &tbool) == ISC_R_SUCCESS &&
if (zone->ztype != dns_c_zone_hint &&
dns_c_zone_getdialup(zone, &tbool) == ISC_R_SUCCESS &&
tbool == ISC_TRUE)
isc_log_write(dns_lctx, DNS_LOGCATEGORY_CONFIG,
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,