summaryrefslogtreecommitdiff
path: root/print-nflog.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-nflog.c
parent073fea9c9042a42d5602336cac51409d131eb2ab (diff)
downloadtcpdump-96c60029b3f935eff892d1f49b52f305423e4671.tar.gz
Rename a field of the netdissect_options structure
Diffstat (limited to 'print-nflog.c')
-rw-r--r--print-nflog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-nflog.c b/print-nflog.c
index 83222da6..cc58e022 100644
--- a/print-nflog.c
+++ b/print-nflog.c
@@ -145,10 +145,10 @@ nflog_if_print(netdissect_options *ndo,
ndo->ndo_protocol = "nflog";
if (caplen < NFLOG_HDR_LEN) {
nd_print_trunc(ndo);
- ndo->ndo_ll_header_length += caplen;
+ ndo->ndo_ll_hdr_len += caplen;
return;
}
- ndo->ndo_ll_header_length += NFLOG_HDR_LEN;
+ ndo->ndo_ll_hdr_len += NFLOG_HDR_LEN;
ND_TCHECK_SIZE(hdr);
if (GET_U_1(hdr->nflog_version) != 0) {
@@ -225,11 +225,11 @@ nflog_if_print(netdissect_options *ndo,
break;
}
- ndo->ndo_ll_header_length += h_size - NFLOG_HDR_LEN;
+ ndo->ndo_ll_hdr_len += h_size - NFLOG_HDR_LEN;
return;
trunc:
nd_print_trunc(ndo);
- ndo->ndo_ll_header_length += h_size - NFLOG_HDR_LEN;
+ ndo->ndo_ll_hdr_len += h_size - NFLOG_HDR_LEN;
return;
}