Commit 6499bdfd authored by Mark Andrews's avatar Mark Andrews
Browse files

use documented default key ttl

parent 0ac2a868
......@@ -452,6 +452,10 @@ class dnskey:
if timespan is None:
timespan = self.ttl
if timespan is None:
output("WARNING: Key %s using default TTL." % repr(self))
timespan = (60*60*24)
now = time.time()
d = self.delete()
i = self.inactive()
......
args=
warn=1
error=0
ok=0
retcode=0
warn=4
error=1
ok=1
retcode=1
match=0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment