X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a36b3aeb877e4357918cfd99ddad5ce913a3a0b6..f64a4a5f49bcbcb996820b566d7ffe9f7cefe4f3:/print-domain.c diff --git a/print-domain.c b/print-domain.c index dcfc9fd2..d98cd11c 100644 --- a/print-domain.c +++ b/print-domain.c @@ -517,13 +517,13 @@ const struct tok ns_type2str[] = { { T_CERT, "CERT" }, /* RFC 4398 */ { T_A6, "A6" }, /* RFC 6563 */ { T_DNAME, "DNAME" }, /* RFC 6672 */ - { T_SINK, "SINK" }, + { T_SINK, "SINK" }, { T_OPT, "OPT" }, /* RFC 6891 */ - { T_APL, "APL" }, /* RFC 3123 */ + { T_APL, "APL" }, /* RFC 3123 */ { T_DS, "DS" }, /* RFC 4034 */ { T_SSHFP, "SSHFP" }, /* RFC 4255 */ { T_IPSECKEY, "IPSECKEY" }, /* RFC 4025 */ - { T_RRSIG, "RRSIG" }, /* RFC 4034 */ + { T_RRSIG, "RRSIG" }, /* RFC 4034 */ { T_NSEC, "NSEC" }, /* RFC 4034 */ { T_DNSKEY, "DNSKEY" }, /* RFC 4034 */ { T_DHCID, "DHCID" }, /* RFC 4071 */ @@ -1070,8 +1070,7 @@ domain_print(netdissect_options *ndo, if (arcount) goto trunc; } - } - else { + } else { /* this is a request */ ND_PRINT("%u%s%s%s", GET_BE_U_2(np->id), ns_ops[DNS_OPCODE(flags)], @@ -1088,8 +1087,7 @@ domain_print(netdissect_options *ndo, ND_PRINT(" [%uq]", qdcount); if (ancount != 1) ND_PRINT(" [%ua]", ancount); - } - else { + } else { if (ancount) ND_PRINT(" [%ua]", ancount); if (qdcount != 1)