aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tivoconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tivoconnect.c')
-rw-r--r--epan/dissectors/packet-tivoconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tivoconnect.c b/epan/dissectors/packet-tivoconnect.c
index 345c3541ab..79bfeac866 100644
--- a/epan/dissectors/packet-tivoconnect.c
+++ b/epan/dissectors/packet-tivoconnect.c
@@ -67,7 +67,7 @@ dissect_tivoconnect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolea
return 0;
}
- length = tvb_length(tvb);
+ length = tvb_captured_length(tvb);
string = (gchar*)tvb_get_string_enc(wmem_packet_scope(), tvb, 0, length, ENC_ASCII);
/* Make entries in Protocol column and Info column on summary display */