summaryrefslogtreecommitdiff
path: root/print-atm.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-atm.c')
-rw-r--r--print-atm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-atm.c b/print-atm.c
index e2218c42..03c39ff0 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -538,7 +538,7 @@ oam_print (netdissect_options *ndo,
}
/* crc10 checksum verification */
- ND_TCHECK2(*(p + OAM_CELLTYPE_FUNCTYPE_LEN + OAM_FUNCTION_SPECIFIC_LEN), 2);
+ ND_TCHECK_2(p + OAM_CELLTYPE_FUNCTYPE_LEN + OAM_FUNCTION_SPECIFIC_LEN);
cksum = EXTRACT_BE_U_2(p + OAM_CELLTYPE_FUNCTYPE_LEN + OAM_FUNCTION_SPECIFIC_LEN)
& OAM_CRC10_MASK;
cksum_shouldbe = verify_crc10_cksum(0, p, OAM_PAYLOAD_LEN);