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

Added OPCODE do packet dump

parent 1e8c6955
Branches
Tags
No related merge requests found
......@@ -1542,6 +1542,8 @@ void knot_packet_dump(const knot_packet_t *packet)
knot_wire_flags_get_cd(packet->header.flags2) ? "cd" : "");
dbg_packet(" RCODE: %u\n", knot_wire_flags_get_rcode(
packet->header.flags2));
dbg_packet(" OPCODE: %u\n", knot_wire_flags_get_opcode()
packet->header.flags1));
dbg_packet(" QDCOUNT: %u\n", packet->header.qdcount);
dbg_packet(" ANCOUNT: %u\n", packet->header.ancount);
dbg_packet(" NSCOUNT: %u\n", packet->header.nscount);
......
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