artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
520304a
)
KNF, no functional change.
author
claudio
<claudio@openbsd.org>
Wed, 1 Mar 2023 08:15:58 +0000
(08:15 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 1 Mar 2023 08:15:58 +0000
(08:15 +0000)
usr.sbin/tcpdump/print-domain.c
patch
|
blob
|
history
diff --git
a/usr.sbin/tcpdump/print-domain.c
b/usr.sbin/tcpdump/print-domain.c
index
f5d74e8
..
d3372a6
100644
(file)
--- a/
usr.sbin/tcpdump/print-domain.c
+++ b/
usr.sbin/tcpdump/print-domain.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: print-domain.c,v 1.2
7 2020/01/24 22:46:36 procter
Exp $ */
+/* $OpenBSD: print-domain.c,v 1.2
8 2023/03/01 08:15:58 claudio
Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@
-652,8
+652,7
@@
ns_print(const u_char *bp, u_int length, int is_mdns)
if (arcount > 0)
goto trunc;
}
- }
- else {
+ } else {
/* this is a request */
printf("%d%s%s%s", EXTRACT_16BITS(&np->id), ns_ops[DNS_OPCODE(np)],
DNS_RD(np) ? "+" : "",