summaryrefslogtreecommitdiff
path: root/print-pflog.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 21:32:07 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 21:32:07 +0100
commitd526e47658b691c4b5ca0d29759d1f67b7fb037b (patch)
tree942b58ab554e7812016cc349cec8ddf4c6a874e1 /print-pflog.c
parent6e8e14d7fa7a73e8d42515eed917feff29ce9622 (diff)
downloadtcpdump-d526e47658b691c4b5ca0d29759d1f67b7fb037b.tar.gz
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (1/n)
Diffstat (limited to 'print-pflog.c')
-rw-r--r--print-pflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-pflog.c b/print-pflog.c
index 1f552e14..084b314b 100644
--- a/print-pflog.c
+++ b/print-pflog.c
@@ -134,7 +134,7 @@ pflog_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h,
}
/* print what we know */
- ND_TCHECK(*hdr);
+ ND_TCHECK_SIZE(hdr);
if (ndo->ndo_eflag)
pflog_print(ndo, hdr);