diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 14:44:55 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-21 15:17:22 +0200 |
commit | 3018f3698b1463d4577ea8b412f079f4381b7605 (patch) | |
tree | a4bda8e5964715ab6806cddff75da97f15395108 /print-domain.c | |
parent | e4ecc39f4ebb05aa2fb8293aaa71ffbe0a340ff1 (diff) | |
download | tcpdump-4.99.tar.gz |
Put "}" at beginning of line with "else" to keep a consistent styletcpdump-4.99
(backported from commit 113ed15b7ecae4a3523454344f9b3438ea97fdc7)
[skip ci]
Diffstat (limited to 'print-domain.c')
-rw-r--r-- | print-domain.c | 6 |
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) |