diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-07-14 17:32:55 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-07-14 17:35:57 +0200 |
commit | 96c60029b3f935eff892d1f49b52f305423e4671 (patch) | |
tree | 3d60127807622e2c8ab68dd27a196f26a583afe7 /print-symantec.c | |
parent | 073fea9c9042a42d5602336cac51409d131eb2ab (diff) | |
download | tcpdump-96c60029b3f935eff892d1f49b52f305423e4671.tar.gz |
Rename a field of the netdissect_options structure
Diffstat (limited to 'print-symantec.c')
-rw-r--r-- | print-symantec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-symantec.c b/print-symantec.c index 5e203581..faacd117 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); |