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

more for:

2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
This commit is contained in:
Mark Andrews
2009-12-30 02:26:30 +00:00
parent 0216fd2ac6
commit 502dc92f58

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.545 2009/12/29 22:20:33 marka Exp $ */
/* $Id: zone.c,v 1.546 2009/12/30 02:26:30 marka Exp $ */
/*! \file */
@@ -10293,11 +10293,10 @@ zone_settimer(dns_zone_t *zone, isc_time_t *now) {
isc_time_compare(&zone->dumptime, &next) < 0)
next = zone->dumptime;
}
if (DNS_ZONEKEY_OPTION(zone, DNS_ZONEKEY_MAINTAIN) &&
!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_REFRESHING)) {
if (!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_REFRESHING) &&
!isc_time_isepoch(&zone->refreshkeytime)) {
if (isc_time_isepoch(&next) ||
(!isc_time_isepoch(&zone->refreshkeytime) &&
isc_time_compare(&zone->refreshkeytime, &next) < 0))
isc_time_compare(&zone->refreshkeytime, &next) < 0)
next = zone->refreshkeytime;
}
if (!isc_time_isepoch(&zone->resigntime)) {