diff --git a/bind8/resign.pl b/bind8/resign.pl index 41c5ae70a..0e2b138a1 100755 --- a/bind8/resign.pl +++ b/bind8/resign.pl @@ -65,7 +65,7 @@ foreach my $z (@zones) { } my $old = (time() - $st[9]) / (24*60*60); print STDERR " Age in days $old\n" if ($debug); - if ($old > $config{'dnssec_period'}) { + if ($old > $period) { # Too old .. signing my $err = &resign_dnssec_key($z); if ($err) {