Skip to content
Snippets Groups Projects
Commit 5e302090 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

ext-rcode: Fixed error processing.

parent 6a404fd6
Branches
Tags
2 merge requests!330Knsupdate pubkey processing fix,!299Fixed (Extended) RCODE handling
......@@ -376,7 +376,7 @@ static int process_query_err(knot_pkt_t *pkt, knot_process_t *ctx)
/* Put OPT RR to the additional section. */
int ret = answer_edns_reserve(pkt, qdata);
ret = ret && answer_edns_put(pkt, qdata);
ret = ret || answer_edns_put(pkt, qdata);
if (ret != KNOT_EOK) {
qdata->rcode = KNOT_RCODE_SERVFAIL;
......
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