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

Small fix.

parent 1039cdce
Branches
Tags
No related merge requests found
......@@ -83,14 +83,16 @@ static int knot_zone_diff_load_soas(const knot_zone_contents_t *zone1,
if (ns_serial_compare(soa_serial1, soa_serial2) == 0) {
dbg_zonediff("zone_diff: "
"second zone must have higher serial than the "
"first one.\n");
"first one. (%d vs. %d)\n",
soa_serial1, soa_serial2);
return KNOT_ENODIFF;
}
if (ns_serial_compare(soa_serial1, soa_serial2) == 0) {
if (ns_serial_compare(soa_serial1, soa_serial2) > 0) {
dbg_zonediff("zone_diff: "
"second zone must have higher serial than the "
"first one.\n");
"first one. (%d vs. %d)\n",
soa_serial1, soa_serial2);
return KNOT_ERANGE;
}
......
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