Skip to content
Snippets Groups Projects
Commit 63b0e509 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

ddns: removed too restrictive assert.

 - this could happen when reloading
parent fadb6c95
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment