"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/knot/events/handlers/load.c" between
knot-2.9.1.tar.xz and knot-2.9.2.tar.xz

About: Knot DNS is a high-performance authoritative-only DNS server (supports zone transfers, dynamic updates and DNSSEC).

load.c  (knot-2.9.1.tar.xz):load.c  (knot-2.9.2.tar.xz)
skipping to change at line 220 skipping to change at line 220
break; break;
case KNOT_ERANGE: case KNOT_ERANGE:
log_zone_warning(zone->name, "zone file changed, but SOA serial decreased"); log_zone_warning(zone->name, "zone file changed, but SOA serial decreased");
break; break;
} }
goto cleanup; goto cleanup;
} }
uint32_t middle_serial = zone_contents_serial(up.new_cont); uint32_t middle_serial = zone_contents_serial(up.new_cont);
if (do_diff && old_contents_exist && journal_conts == NULL && dnssec_enab if (do_diff && old_contents_exist && dnssec_enable &&
le) { zone->zonefile.serial != zone_contents_serial(zone->contents) &&
!zone_journal_has_zij(zone)) {
ret = zone_update_start_extra(&up); ret = zone_update_start_extra(&up);
if (ret != KNOT_EOK) { if (ret != KNOT_EOK) {
goto cleanup; goto cleanup;
} }
} }
// The contents are already part of zone_update. // The contents are already part of zone_update.
zf_conts = NULL; zf_conts = NULL;
journal_conts = NULL; journal_conts = NULL;
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)