summaryrefslogtreecommitdiff
path: root/print-sl.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-07-14 17:32:55 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-07-14 17:35:57 +0200
commit96c60029b3f935eff892d1f49b52f305423e4671 (patch)
tree3d60127807622e2c8ab68dd27a196f26a583afe7 /print-sl.c
parent073fea9c9042a42d5602336cac51409d131eb2ab (diff)
downloadtcpdump-96c60029b3f935eff892d1f49b52f305423e4671.tar.gz
Rename a field of the netdissect_options structure
Diffstat (limited to 'print-sl.c')
-rw-r--r--print-sl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-sl.c b/print-sl.c
index 64bd96da..3866bbc4 100644
--- a/print-sl.c
+++ b/print-sl.c
@@ -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;