X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7885cfa165458a05ef818c34ee03affc79f03725..f5f55624f531d2a2a3a0029a831e4d4e27bc1e1c:/print-null.c diff --git a/print-null.c b/print-null.c index f2ea96e2..1edff6af 100644 --- a/print-null.c +++ b/print-null.c @@ -83,11 +83,11 @@ null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char ndo->ndo_protocol = "null"; if (caplen < NULL_HDRLEN) { - ndo->ndo_ll_header_length += caplen; + ndo->ndo_ll_hdr_len += caplen; nd_print_trunc(ndo); return; } - ndo->ndo_ll_header_length += NULL_HDRLEN; + ndo->ndo_ll_hdr_len += NULL_HDRLEN; family = GET_HE_U_4(p);