X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/da20bc56d6100b5275d6f85c4a25bac1dab4e57e..de0c7fc746c37eb83e15a6890d30dc6f608e9d76:/print-cnfp.c diff --git a/print-cnfp.c b/print-cnfp.c index 73570d95..162b1f9f 100644 --- a/print-cnfp.c +++ b/print-cnfp.c @@ -446,7 +446,7 @@ cnfp_print(netdissect_options *ndo, const u_char *cp) /* * First 2 bytes are the version number. */ - ND_TCHECK2(*cp, 2); + ND_TCHECK_2(cp); ver = EXTRACT_BE_U_2(cp); switch (ver) {