summaryrefslogtreecommitdiff
path: root/print-bt.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-bt.c
parent073fea9c9042a42d5602336cac51409d131eb2ab (diff)
downloadtcpdump-96c60029b3f935eff892d1f49b52f305423e4671.tar.gz
Rename a field of the netdissect_options structure
Diffstat (limited to 'print-bt.c')
-rw-r--r--print-bt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-bt.c b/print-bt.c
index d65a5ff8..438ff956 100644
--- a/print-bt.c
+++ b/print-bt.c
@@ -56,11 +56,11 @@ bt_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *
ndo->ndo_protocol = "bluetooth";
nd_print_protocol(ndo);
if (caplen < BT_HDRLEN) {
- ndo->ndo_ll_header_length += caplen;
+ ndo->ndo_ll_hdr_len += caplen;
nd_print_trunc(ndo);
return;
}
- ndo->ndo_ll_header_length += BT_HDRLEN;
+ ndo->ndo_ll_hdr_len += BT_HDRLEN;
caplen -= BT_HDRLEN;
length -= BT_HDRLEN;
p += BT_HDRLEN;