mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
4874. [bug] Wrong time display when reporting new keywarntime.
[RT #47042]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
4874. [bug] Wrong time display when reporting new keywarntime.
|
||||||
|
[RT #47042]
|
||||||
|
|
||||||
4873. [doc] Grammars for named.conf included in the ARM are now
|
4873. [doc] Grammars for named.conf included in the ARM are now
|
||||||
automatically generated by the configuration parser
|
automatically generated by the configuration parser
|
||||||
itself. As a side effect of the work needed to
|
itself. As a side effect of the work needed to
|
||||||
|
@@ -6123,7 +6123,7 @@ set_key_expiry_warning(dns_zone_t *zone, isc_stdtime_t when, isc_stdtime_t now)
|
|||||||
isc_time_set(&zone->keywarntime, when - delta, 0);
|
isc_time_set(&zone->keywarntime, when - delta, 0);
|
||||||
} else {
|
} else {
|
||||||
isc_time_set(&zone->keywarntime, when - 7 * 24 * 3600, 0);
|
isc_time_set(&zone->keywarntime, when - 7 * 24 * 3600, 0);
|
||||||
isc_time_formattimestamp(&zone->refreshkeytime, timebuf, 80);
|
isc_time_formattimestamp(&zone->keywarntime, timebuf, 80);
|
||||||
dns_zone_log(zone, ISC_LOG_NOTICE,
|
dns_zone_log(zone, ISC_LOG_NOTICE,
|
||||||
"setting keywarntime to %s", timebuf);
|
"setting keywarntime to %s", timebuf);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user