X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/9d046ee0503d4c8cbfcb200c88986de876f6cae7..refs/heads/mcr-macro-update-1:/print-enc.c?ds=sidebyside diff --git a/print-enc.c b/print-enc.c index aeacd6c6..60733190 100644 --- a/print-enc.c +++ b/print-enc.c @@ -105,11 +105,11 @@ enc_if_print(netdissect_options *ndo, ndo->ndo_protocol = "enc"; if (caplen < ENC_HDRLEN) { - ndo->ndo_ll_header_length += caplen; + ndo->ndo_ll_hdr_len += caplen; nd_print_trunc(ndo); return; } - ndo->ndo_ll_header_length += ENC_HDRLEN; + ndo->ndo_ll_hdr_len += ENC_HDRLEN; hdr = (const struct enchdr *)p; /*