From 1a2b3fbeb171e7479e88b7df1f7828de6cf0fa8d Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 25 Jan 2001 02:30:21 +0000 Subject: [PATCH] don't attempt to refresh while loading. --- lib/dns/zone.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 183680881a..579ae33157 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.299 2001/01/24 00:00:21 gson Exp $ */ +/* $Id: zone.c,v 1.300 2001/01/25 02:30:21 marka Exp $ */ #include @@ -3719,7 +3719,8 @@ zone_settimer(dns_zone_t *zone, isc_stdtime_t now) { case dns_zone_stub: if (!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_REFRESH) && !DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NOMASTERS) && - !DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NOREFRESH)) { + !DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NOREFRESH) && + !DNS_ZONE_FLAG(zone, DNS_ZONEFLG_LOADING)) { INSIST(zone->refreshtime != 0); if (zone->refreshtime < next || next == 0) next = zone->refreshtime;