diff options
Diffstat (limited to 'epan/dissectors/packet-ixiatrailer.c')
-rw-r--r-- | epan/dissectors/packet-ixiatrailer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ixiatrailer.c b/epan/dissectors/packet-ixiatrailer.c index ad4f39b391..5e83e34535 100644 --- a/epan/dissectors/packet-ixiatrailer.c +++ b/epan/dissectors/packet-ixiatrailer.c @@ -84,7 +84,7 @@ dissect_ixiatrailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, voi guint8 source; /* Need at least 5 bytes. TODO: should be 15? */ - tvblen = tvb_length(tvb); + tvblen = tvb_captured_length(tvb); if (tvblen < 5) { return 0; } |