]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
kdig: print QNAME using wire format case
authorRobert Edmonds <edmonds@users.noreply.github.com>
Wed, 5 Jan 2022 23:02:43 +0000 (18:02 -0500)
committerDaniel Salzman <daniel.salzman@nic.cz>
Mon, 10 Jan 2022 07:49:29 +0000 (08:49 +0100)
src/utils/common/exec.c

index 220e3d1bd3381b45d99b0e7012ac04f6e611142b..9717eb8d063b7e1c4eb33ea9a66e91d51a8d4131 100644 (file)
@@ -699,7 +699,7 @@ void print_packet(const knot_pkt_t *packet,
        case FORMAT_FULL:
                if (style->show_question && qdcount > 0) {
                        printf("%s", style->show_section ? "\n;; QUESTION SECTION:\n;; " : ";;");
-                       print_section_question(knot_pkt_qname(packet),
+                       print_section_question(knot_pkt_wire_qname(packet),
                                               knot_pkt_qclass(packet),
                                               knot_pkt_qtype(packet),
                                               style);