Commit 63b0e509 authored by Jan Kadlec's avatar Jan Kadlec

ddns: removed too restrictive assert.

 - this could happen when reloading
parent fadb6c95
......@@ -134,7 +134,6 @@ static int sign_update(zone_t *zone, const zone_contents_t *old_contents,
// Plan next zone resign.
const time_t resign_time = zone_events_get_time(zone, ZONE_EVENT_DNSSEC);
assert(resign_time > ZONE_EVENT_NOW);
if (time(NULL) + refresh_at < resign_time) {
zone_events_schedule(zone, ZONE_EVENT_DNSSEC, refresh_at);
}
......
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