mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-05 12:55:45 -04:00
2990. [bug] 'dnssec-settime -S' no longer tests prepublication
interval validity when the interval is set to 0. [RT #22761]
This commit is contained in:
parent
8ff031ed05
commit
584ad7dedd
2 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
2990. [bug] 'dnssec-settime -S' no longer tests prepublication
|
||||
interval validity when the interval is set to 0.
|
||||
[RT #22761]
|
||||
|
||||
2989. [func] Added support for writable DLZ zones. (Contributed
|
||||
by Andrew Tridgell of the Samba project.) [RT #22629]
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dnssec-settime.c,v 1.27 2010/08/16 23:46:51 tbox Exp $ */
|
||||
/* $Id: dnssec-settime.c,v 1.28 2010/12/19 07:29:36 each Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -386,7 +386,7 @@ main(int argc, char **argv) {
|
|||
"generating a successor.");
|
||||
|
||||
pub = act - prepub;
|
||||
if (pub < now)
|
||||
if (pub < now && prepub != 0)
|
||||
fatal("Predecessor will become inactive before the\n\t"
|
||||
"prepublication period ends. Either change "
|
||||
"its inactivation date,\n\t"
|
||||
|
|
|
|||
Loading…
Reference in a new issue