X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7b7b84716e604abd8bd92cee75e6385cab6ce3dc..c998848b4bef9fd48f8cc97ad83931d4a75dc7a7:/print-ether.c diff --git a/print-ether.c b/print-ether.c index da95862b..3aeda8f7 100644 --- a/print-ether.c +++ b/print-ether.c @@ -566,7 +566,7 @@ ethertype_print(netdissect_options *ndo, } /* At least one byte is required */ /* FIXME: Reference for this byte? */ - ND_TCHECK_LEN(p, 1); + ND_TCHECK_1(p); isoclns_print(ndo, p + 1, length - 1); return(1);