diff options
Diffstat (limited to 'epan/dissectors/packet-tr.c')
-rw-r--r-- | epan/dissectors/packet-tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tr.c b/epan/dissectors/packet-tr.c index 172b30af2c..260bc878e9 100644 --- a/epan/dissectors/packet-tr.c +++ b/epan/dissectors/packet-tr.c @@ -156,7 +156,7 @@ int check_for_old_linux_tvb(tvbuff_t *tvb) int x, bytes; /* Restrict our looping to the boundaries of the frame */ - bytes = tvb_length(tvb); + bytes = tvb_captured_length(tvb); if (bytes > 19) { bytes = 19; } |