diff options
Diffstat (limited to 'epan/dissectors/packet-fcgi.c')
-rw-r--r-- | epan/dissectors/packet-fcgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcgi.c b/epan/dissectors/packet-fcgi.c index 7b6f7855aa..89eb56b36c 100644 --- a/epan/dissectors/packet-fcgi.c +++ b/epan/dissectors/packet-fcgi.c @@ -321,7 +321,7 @@ dissect_fcgi_record(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d } } - return tvb_length(tvb); + return tvb_captured_length(tvb); } static guint @@ -334,7 +334,7 @@ static int dissect_fcgi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) { tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 8, get_fcgi_record_len, dissect_fcgi_record, data); - return tvb_length(tvb); + return tvb_captured_length(tvb); } void |