Skip to content
Snippets Groups Projects
Commit d7631ada authored by Marek Vavruša's avatar Marek Vavruša
Browse files

lib/rrcache: mark cached answers as authoritative

parent 0877962b
Branches
Tags
No related merge requests found
......@@ -118,6 +118,7 @@ static int peek(knot_layer_t *ctx, knot_pkt_t *pkt)
qry->flags |= QUERY_CACHED;
pkt->parsed = pkt->size;
knot_wire_set_qr(pkt->wire);
knot_wire_set_aa(pkt->wire);
return KNOT_STATE_DONE;
}
return ctx->state;
......
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