Skip to content
Snippets Groups Projects
Commit a409bb32 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

minor formating fixes

parent 77a3e384
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ src/common/base64.c
src/common/base64.h
src/common/binsearch.h
src/common/crc.h
src/common/debug.h
src/common/descriptor.c
src/common/descriptor.h
src/common/errcode.c
......@@ -214,7 +215,6 @@ src/libknot/tsig-op.c
src/libknot/tsig-op.h
src/libknot/tsig.c
src/libknot/tsig.h
src/libknot/util/debug.h
src/libknot/util/endian.h
src/libknot/util/tolower.c
src/libknot/util/tolower.h
......
......@@ -843,7 +843,7 @@ static int knot_ddns_process_add_soa(knot_node_t *node,
/* Check that the serial is indeed larger than the current one*/
assert(knot_serial_compare(knot_rdata_soa_serial(removed),
knot_rdata_soa_serial(rr)) < 0);
knot_rdata_soa_serial(rr)) < 0);
/* 1) Store it to 'changes', together with its RRSIGs. */
ret = knot_changes_add_rrset(changes, removed, KNOT_CHANGES_OLD);
......@@ -1799,7 +1799,7 @@ int knot_ddns_process_update(knot_zone_contents_t *zone,
&& (knot_rrset_class(rr) == KNOT_CLASS_NONE
|| knot_rrset_class(rr) == KNOT_CLASS_ANY
|| knot_serial_compare(knot_rdata_soa_serial(rr),
sn) <= 0)) {
sn) <= 0)) {
// This ignores also SOA removals
dbg_ddns_verb("Ignoring SOA...\n");
continue;
......
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