summaryrefslogtreecommitdiff
path: root/print-domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-domain.c')
-rw-r--r--print-domain.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/print-domain.c b/print-domain.c
index d2275a5e..d98cd11c 100644
--- a/print-domain.c
+++ b/print-domain.c
@@ -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)