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

knsupdate: fix segfault in response print

parent dbe6c595
No related branches found
No related tags found
No related merge requests found
......@@ -582,7 +582,9 @@ void print_packet(const knot_pkt_t *packet,
// Print packet information header.
if (style->show_header) {
print_tls(&net->tls);
if (net != NULL) {
print_tls(&net->tls);
}
print_header(packet, style, rcode);
}
......
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