Skip to content
Snippets Groups Projects
Commit c35ceb1d authored by Libor Peltan's avatar Libor Peltan
Browse files

knotc reload: check for non-loaded zone when replanning after reload

parent 42048df5
No related branches found
No related tags found
1 merge request!1158Fixes jpmens
......@@ -170,8 +170,12 @@ void replan_load_current(conf_t *conf, zone_t *zone, zone_t *old_zone)
replan_ddns(zone, old_zone);
replan_notify(zone, old_zone);
replan_from_timers(conf, zone);
replan_dnssec(conf, zone);
if (zone->contents != NULL || zone_expired(zone)) {
replan_from_timers(conf, zone);
replan_dnssec(conf, zone);
} else {
zone_events_schedule_now(zone, ZONE_EVENT_LOAD);
}
}
void replan_load_updated(zone_t *zone, zone_t *old_zone)
......
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