Commit e0964b5e authored by Lubos Slovak's avatar Lubos Slovak

ixfr: Ignoring malformed IXFR response (old data).

parent 15fe2f9e
......@@ -698,13 +698,12 @@ int ixfr_process_answer(knot_pkt_t *pkt, struct answer_data *adata)
if (!zone_transfer_needed(adata->param->zone, pkt)) {
if (knot_pkt_section(pkt, KNOT_ANSWER)->count > 1) {
IXFRIN_LOG(LOG_WARNING, "malformed IXFR response"
"(old data).");
return KNOT_NS_PROC_FAIL;
" (old data), ignoring");
} else {
/* Single-SOA answer. */
IXFRIN_LOG(LOG_INFO, "zone is up-to-date");
return KNOT_NS_PROC_DONE;
}
return KNOT_NS_PROC_DONE;
}
IXFRIN_LOG(LOG_INFO, "starting");
......
Markdown is supported
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