Skip to content
Snippets Groups Projects
Commit bb68beac authored by Daniel Salzman's avatar Daniel Salzman
Browse files

pkt: fix malformed outgoing transfer if big zone and TSIG

parent b921c005
No related branches found
No related tags found
No related merge requests found
......@@ -226,6 +226,7 @@ void knot_pkt_clear_payload(knot_pkt_t *pkt)
/* Keep question. */
pkt->parsed = 0;
pkt->reserved = 0;
pkt->size = KNOT_WIRE_HEADER_SIZE + knot_pkt_question_size(pkt);
knot_wire_set_ancount(pkt->wire, 0);
knot_wire_set_nscount(pkt->wire, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment