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