aboutsummaryrefslogtreecommitdiffstats
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 4a7c2d6591..420e725e70 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -214,7 +214,7 @@ ph_stats_new(void)
tot_bytes = 0;
for (framenum = 1; framenum <= cfile.count; framenum++) {
- frame = cap_file_find_fdata(&cfile, framenum);
+ frame = frame_data_sequence_find(cfile.frames, framenum);
/* Create the progress bar if necessary.
We check on every iteration of the loop, so that