aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-finger.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-finger.c')
-rw-r--r--epan/dissectors/packet-finger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-finger.c b/epan/dissectors/packet-finger.c
index 6036a5e6bc..dd24e51b20 100644
--- a/epan/dissectors/packet-finger.c
+++ b/epan/dissectors/packet-finger.c
@@ -78,7 +78,7 @@ dissect_finger(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
conversation_add_proto_data(conversation, proto_finger, finger_trans);
}
- len = tvb_length(tvb);
+ len = tvb_captured_length(tvb);
if (!PINFO_FD_VISITED(pinfo)) {
if (pinfo->can_desegment) {
if (is_query) {