2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch 'ondrej/fix-missing-DNS_ZONEFLG_DUMPING-in-setmodtime' into 'main'

Add missing DNS_ZONEFLG_DUMPING to setmodtime()

See merge request isc-projects/bind9!5512
This commit is contained in:
Ondřej Surý 2021-10-21 10:33:03 +00:00
commit d63fdfd79c

View File

@ -13875,7 +13875,7 @@ setmodtime(dns_zone_t *zone, isc_time_t *expiretime) {
}
if (result == ISC_R_SUCCESS &&
!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NEEDDUMP) &&
!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NEEDDUMP))
!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_DUMPING))
{
result = isc_file_settime(zone->masterfile, &when);
} else if (result != ISC_R_SUCCESS) {