diff --git a/src/libknot/packet/packet.c b/src/libknot/packet/packet.c index ae082bfd3b86606e211094c241a5ea4136284ac2..8183d2e4da6caaffa4032b517bf016d6bcfb5715 100644 --- a/src/libknot/packet/packet.c +++ b/src/libknot/packet/packet.c @@ -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);