diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-24 20:44:53 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-24 20:44:53 +0100 |
commit | 3ecde94f0cdb6b1814a3a8acd7b1c7bf4705abe5 (patch) | |
tree | eeac95896318fa34fbd9ba27f13ebc7348cd69d0 /print-hncp.c | |
parent | f9dbcc9615275370677b7ae164417bf2f44f0c41 (diff) | |
download | tcpdump-3ecde94f0cdb6b1814a3a8acd7b1c7bf4705abe5.tar.gz |
Use more ND_TCHECK_n() macros
Diffstat (limited to 'print-hncp.c')
-rw-r--r-- | print-hncp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-hncp.c b/print-hncp.c index 4057e519..560f5b7d 100644 --- a/print-hncp.c +++ b/print-hncp.c @@ -422,7 +422,7 @@ hncp_print_rec(netdissect_options *ndo, ND_PRINT((ndo, "\t")); } - ND_TCHECK2(*tlv, 4); + ND_TCHECK_4(tlv); if (i + 4 > length) goto invalid; |