mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Suppress spurious "hint zones do not have a dialup field".
This commit is contained in:
parent
cfdb88eb33
commit
c7294f9c0b
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue