aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-brdwlk.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-brdwlk.c')
-rw-r--r--epan/dissectors/packet-brdwlk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-brdwlk.c b/epan/dissectors/packet-brdwlk.c
index e0c67da969..a4d39b287c 100644
--- a/epan/dissectors/packet-brdwlk.c
+++ b/epan/dissectors/packet-brdwlk.c
@@ -248,7 +248,7 @@ dissect_brdwlk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
/* Locate EOF which is the last 4 bytes of the frame */
- len = tvb_length_remaining(tvb, hdrlen);
+ len = tvb_captured_length_remaining(tvb, hdrlen);
reported_len = tvb_reported_length_remaining(tvb, hdrlen);
if (reported_len < 4) {
/*