Commit 2950f702 authored by Marek Vavruša's avatar Marek Vavruša

Revert "ixfr: rewrite QTYPE for AXFR fallback"

This reverts commit 6300c7a3.
parent 5ac02e0b
......@@ -587,7 +587,6 @@ int ixfr_query(knot_pkt_t *pkt, struct query_data *qdata)
int ret = KNOT_EOK;
struct timeval now = {0};
struct ixfr_proc *ixfr = (struct ixfr_proc*)qdata->ext;
knot_pkt_t *query = qdata->query;
/* If IXFR is disabled, respond with SOA. */
if (qdata->param->proc_flags & NS_QUERY_NO_IXFR) {
......@@ -610,10 +609,6 @@ int ixfr_query(knot_pkt_t *pkt, struct query_data *qdata)
case KNOT_ERANGE: /* No history -> AXFR. */
IXFROUT_LOG(LOG_INFO, "incomplete history, fallback to AXFR");
knot_pkt_put_question(pkt, knot_pkt_qname(query),
qdata->packet_type = KNOT_QUERY_AXFR; /* Solve as AXFR. */
return axfr_query_process(pkt, qdata);
default: /* Server errors. */
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