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

zone-events: Still load the zone if serial is lower.

parent 702f8f65
Branches
Tags
No related merge requests found
......@@ -172,6 +172,13 @@ int zone_load_post(zone_contents_t *new_contents, zone_t *zone)
conf->name);
ret = KNOT_EOK;
changesets_free(&diff_change, NULL);
} else if (ret == KNOT_ERANGE) {
log_zone_warning("Zone %s: Zone file changed, "
"but serial is lower than before - "
"IXFR history will be lost.\n",
conf->name);
ret = KNOT_EOK;
changesets_free(&diff_change, NULL);
} else if (ret != KNOT_EOK) {
log_zone_error("Zone %s: Failed to calculate "
"differences from the zone "
......
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