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-m3ua.c | |
parent | 6e8e14d7fa7a73e8d42515eed917feff29ce9622 (diff) | |
download | tcpdump-d526e47658b691c4b5ca0d29759d1f67b7fb037b.tar.gz |
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (1/n)
Diffstat (limited to 'print-m3ua.c')
-rw-r--r-- | print-m3ua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-m3ua.c b/print-m3ua.c index fa51e4b0..a0305cfd 100644 --- a/print-m3ua.c +++ b/print-m3ua.c @@ -307,7 +307,7 @@ m3ua_print(netdissect_options *ndo, /* size includes the header */ if (size < sizeof(struct m3ua_common_header)) goto invalid; - ND_TCHECK(*hdr); + ND_TCHECK_SIZE(hdr); if (EXTRACT_U_1(hdr->v) != M3UA_REL_1_0) return; |