aboutsummaryrefslogtreecommitdiffstats
path: root/tfshark.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-03-27 16:53:29 +0100
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-03-28 12:40:21 +0000
commit842f53c329e6abf28a8c320faebcae252312eaf8 (patch)
treeb9ad6ba7514190638c2d29e1423edef36f76ac74 /tfshark.c
parentac0a69636ba799f976c7fc01f137c0bbb89b0a17 (diff)
Revert "epan: Allow nested dependent packets"
This reverts commit 2d8607e7e039db2b189403e9941ab8cbd0a9d466. This reverts commit be915d7374be9d64b6fd85819fcd98b300f511af. Introduces a segmentation fault, needs more work.
Diffstat (limited to 'tfshark.c')
-rw-r--r--tfshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tfshark.c b/tfshark.c
index 006feca30a..245c5ea8cc 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -1047,11 +1047,11 @@ process_packet_first_pass(capture_file *cf, epan_dissect_t *edt,
cf->provider.prev_cap = cf->provider.prev_dis = frame_data_sequence_add(cf->provider.frames, &fdlocal);
/* If we're not doing dissection then there won't be any dependent frames.
- * More importantly, edt.pi.fd.dependent_frames won't be initialized because
+ * More importantly, edt.pi.dependent_frames won't be initialized because
* epan hasn't been initialized.
*/
if (edt) {
- g_slist_foreach(edt->pi.fd->dependent_frames, find_and_mark_frame_depended_upon, cf->provider.frames);
+ g_slist_foreach(edt->pi.dependent_frames, find_and_mark_frame_depended_upon, cf->provider.frames);
}
cf->count++;