diff options
Diffstat (limited to 'gtk/packet_list_store.c')
-rw-r--r-- | gtk/packet_list_store.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/packet_list_store.c b/gtk/packet_list_store.c index fae8f8bec9..269dae14d3 100644 --- a/gtk/packet_list_store.c +++ b/gtk/packet_list_store.c @@ -1097,8 +1097,7 @@ packet_list_dissect_and_cache_record(PacketList *packet_list, PacketListRecord * else cinfo = NULL; - if (!wtap_seek_read(cfile.wth, fdata->file_off, &pseudo_header, - pd, fdata->cap_len, &err, &err_info)) { + if (!cf_read_frame_r(&cfile, fdata, &pseudo_header, pd, &err, &err_info)) { simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, cf_read_error_message(err, err_info), cfile.filename); return; |