mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
3798. [bug] 'rndc zonestatus' was reporting the wrong re-signing
time. [RT #35659]
This commit is contained in:
@@ -9633,7 +9633,8 @@ ns_server_zonestatus(ns_server_t *server, char *args, isc_buffer_t *text) {
|
||||
typebuf, sizeof(typebuf));
|
||||
snprintf(resignbuf, sizeof(resignbuf),
|
||||
"%s/%s", namebuf, typebuf);
|
||||
isc_time_set(&resigntime, next.resign, 0);
|
||||
isc_time_set(&resigntime, next.resign -
|
||||
dns_zone_getsigresigninginterval(zone), 0);
|
||||
isc_time_formathttptimestamp(&resigntime, rtbuf,
|
||||
sizeof(rtbuf));
|
||||
dns_rdataset_disassociate(&next);
|
||||
|
Reference in New Issue
Block a user