Skip to content
Snippets Groups Projects
Commit c674f4f9 authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman
Browse files

bugfix: zone load: dont start extra chgset if zonefile unupdated

parent 9bc4c6df
No related branches found
No related tags found
No related merge requests found
Pipeline #69299 passed
......@@ -217,8 +217,8 @@ int event_load(conf_t *conf, zone_t *zone)
uint32_t middle_serial = zone_contents_serial(up.new_cont);
if (do_diff && old_contents_exist && dnssec_enable &&
zone->zonefile.serial != zone_contents_serial(zone->contents) &&
if (do_diff && old_contents_exist && dnssec_enable && zf_conts != NULL &&
zone_contents_serial(zf_conts) != zone_contents_serial(zone->contents) &&
!zone_journal_has_zij(zone)) {
ret = zone_update_start_extra(&up);
if (ret != KNOT_EOK) {
......
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