mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
more for:
2824. [bug] "rndc sign" was not being run by the correct task. [RT #20759]
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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 */
|
/*! \file */
|
||||||
|
|
||||||
@@ -10293,11 +10293,10 @@ zone_settimer(dns_zone_t *zone, isc_time_t *now) {
|
|||||||
isc_time_compare(&zone->dumptime, &next) < 0)
|
isc_time_compare(&zone->dumptime, &next) < 0)
|
||||||
next = zone->dumptime;
|
next = zone->dumptime;
|
||||||
}
|
}
|
||||||
if (DNS_ZONEKEY_OPTION(zone, DNS_ZONEKEY_MAINTAIN) &&
|
if (!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_REFRESHING) &&
|
||||||
!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_REFRESHING)) {
|
!isc_time_isepoch(&zone->refreshkeytime)) {
|
||||||
if (isc_time_isepoch(&next) ||
|
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;
|
next = zone->refreshkeytime;
|
||||||
}
|
}
|
||||||
if (!isc_time_isepoch(&zone->resigntime)) {
|
if (!isc_time_isepoch(&zone->resigntime)) {
|
||||||
|
Reference in New Issue
Block a user