Commit a2a3c3a6 authored by Dominik Taborsky's avatar Dominik Taborsky
Browse files

packet: bugfix: initialize the complete wire in a packet."

parent ac6ae432
......@@ -317,7 +317,7 @@ void knot_pkt_clear(knot_pkt_t *pkt)
/* Reset to header size. */
memset(pkt->wire, 0, pkt->size);
memset(pkt->wire, 0, pkt->max_size);
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