X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4aac37f04316b37b73b99bdcdbfa97347bb2fe51..10ac80fdecfa9b9b7d259d8f50d0b72ef1b18f12:/print-symantec.c diff --git a/print-symantec.c b/print-symantec.c index 5e203581..8fe0c79f 100644 --- a/print-symantec.c +++ b/print-symantec.c @@ -79,12 +79,12 @@ symantec_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_ ndo->ndo_protocol = "symantec"; if (caplen < sizeof (struct symantec_header)) { - ndo->ndo_ll_header_length += caplen; + ndo->ndo_ll_hdr_len += caplen; nd_print_trunc(ndo); return; } - ndo->ndo_ll_header_length += sizeof (struct symantec_header); + ndo->ndo_ll_hdr_len += sizeof (struct symantec_header); if (ndo->ndo_eflag) symantec_hdr_print(ndo, p, length); @@ -110,6 +110,4 @@ symantec_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_ if (!ndo->ndo_suppress_default_print) ND_DEFAULTPRINT(p, caplen); } - - return; }