diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-03 21:32:07 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-03 21:32:07 +0100 |
commit | d526e47658b691c4b5ca0d29759d1f67b7fb037b (patch) | |
tree | 942b58ab554e7812016cc349cec8ddf4c6a874e1 /print-frag6.c | |
parent | 6e8e14d7fa7a73e8d42515eed917feff29ce9622 (diff) | |
download | tcpdump-d526e47658b691c4b5ca0d29759d1f67b7fb037b.tar.gz |
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (1/n)
Diffstat (limited to 'print-frag6.c')
-rw-r--r-- | print-frag6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-frag6.c b/print-frag6.c index f1728f0c..cecef613 100644 --- a/print-frag6.c +++ b/print-frag6.c @@ -41,7 +41,7 @@ frag6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2) dp = (const struct ip6_frag *)bp; ip6 = (const struct ip6_hdr *)bp2; - ND_TCHECK(*dp); + ND_TCHECK_SIZE(dp); if (ndo->ndo_vflag) { ND_PRINT((ndo, "frag (0x%08x:%d|%ld)", |