X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/da20bc56d6100b5275d6f85c4a25bac1dab4e57e..dcca20dd391f15c5c63d3b033fb7d7749bb1d8cd:/print-icmp.c diff --git a/print-icmp.c b/print-icmp.c index b949ffb1..2e76beb2 100644 --- a/print-icmp.c +++ b/print-icmp.c @@ -661,7 +661,7 @@ icmp_print(netdissect_options *ndo, const u_char *bp, u_int plen, const u_char * case 1: switch(obj_ctype) { case 1: - ND_TCHECK2(*obj_tptr, 4); + ND_TCHECK_4(obj_tptr); raw_label = EXTRACT_BE_U_4(obj_tptr); ND_PRINT((ndo, "\n\t label %u, exp %u", MPLS_LABEL(raw_label), MPLS_EXP(raw_label))); if (MPLS_STACK(raw_label))