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-sl.c | |
parent | 073fea9c9042a42d5602336cac51409d131eb2ab (diff) | |
download | tcpdump-96c60029b3f935eff892d1f49b52f305423e4671.tar.gz |
Rename a field of the netdissect_options structure
Diffstat (limited to 'print-sl.c')
-rw-r--r-- | print-sl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -65,10 +65,10 @@ sl_if_print(netdissect_options *ndo, ndo->ndo_protocol = "slip"; if (caplen < SLIP_HDRLEN) { nd_print_trunc(ndo); - ndo->ndo_ll_header_length += caplen; + ndo->ndo_ll_hdr_len += caplen; return; } - ndo->ndo_ll_header_length += SLIP_HDRLEN; + ndo->ndo_ll_hdr_len += SLIP_HDRLEN; caplen -= SLIP_HDRLEN; length -= SLIP_HDRLEN; @@ -106,10 +106,10 @@ sl_bsdos_if_print(netdissect_options *ndo, ndo->ndo_protocol = "slip_bsdos"; if (caplen < SLIP_HDRLEN) { nd_print_trunc(ndo); - ndo->ndo_ll_header_length += caplen; + ndo->ndo_ll_hdr_len += caplen; return; } - ndo->ndo_ll_header_length += SLIP_HDRLEN; + ndo->ndo_ll_hdr_len += SLIP_HDRLEN; length -= SLIP_HDRLEN; |