summaryrefslogtreecommitdiff
path: root/print-cfm.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-24 20:44:53 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-24 20:44:53 +0100
commit3ecde94f0cdb6b1814a3a8acd7b1c7bf4705abe5 (patch)
treeeeac95896318fa34fbd9ba27f13ebc7348cd69d0 /print-cfm.c
parentf9dbcc9615275370677b7ae164417bf2f44f0c41 (diff)
downloadtcpdump-3ecde94f0cdb6b1814a3a8acd7b1c7bf4705abe5.tar.gz
Use more ND_TCHECK_n() macros
Diffstat (limited to 'print-cfm.c')
-rw-r--r--print-cfm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-cfm.c b/print-cfm.c
index e764e1dc..2f570324 100644
--- a/print-cfm.c
+++ b/print-cfm.c
@@ -529,7 +529,7 @@ cfm_print(netdissect_options *ndo,
cfm_tlv_header = (const struct cfm_tlv_header_t *)tptr;
/* Enough to read the tlv type ? */
- ND_TCHECK2(*tptr, 1);
+ ND_TCHECK_1(tptr);
cfm_tlv_type=cfm_tlv_header->type;
ND_PRINT((ndo, "\n\t%s TLV (0x%02x)",