]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-chdlc.c
Rename ND_TCHECK_/ND_TTEST_ macros
[tcpdump] / print-chdlc.c
index e988ed1ef77dab6edac587f5cf56de7b3e533003..2e6481a68c26907cebe84ce33b11fc163ba91071 100644 (file)
@@ -94,7 +94,7 @@ chdlc_print(netdissect_options *ndo, register const u_char *p, u_int length)
                 /* is the fudge byte set ? lets verify by spotting ISO headers */
                 if (length < 2)
                     goto trunc;
-                ND_TCHECK_16BITS(p);
+                ND_TCHECK_2(p);
                 if (*(p+1) == NLPID_CLNP ||
                     *(p+1) == NLPID_ESIS ||
                     *(p+1) == NLPID_ISIS)