aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ff.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ff.c')
-rw-r--r--epan/dissectors/packet-ff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ff.c b/epan/dissectors/packet-ff.c
index bc14607da1..d8d5675a03 100644
--- a/epan/dissectors/packet-ff.c
+++ b/epan/dissectors/packet-ff.c
@@ -11983,7 +11983,7 @@ dissect_ff(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
/*offset += trailer_len;*/
}
- return tvb_captured_length(tvb);
+ return tvb_length(tvb);
}
@@ -12028,7 +12028,7 @@ dissect_ff_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
guint32 length;
/* Make sure at least the header is there */
- if (tvb_captured_length(tvb) < 12)
+ if (tvb_length(tvb) < 12)
return 0;
length = tvb_get_ntohl(tvb, 8);