aboutsummaryrefslogtreecommitdiffstats
path: root/tfshark.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2022-02-27 15:35:58 +0100
committerGerald Combs <gerald@wireshark.org>2022-03-06 23:43:03 +0000
commitbe915d7374be9d64b6fd85819fcd98b300f511af (patch)
tree18a4b3cc42ee5311a55df6e16b6cf9c7c672bfac /tfshark.c
parent1d2a8bff3c035be938bbc2c814cd1417720ff09c (diff)
epan: Allow nested dependent packets
Save all dependent frames when there are multiple levels of reassembly.
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 245c5ea8cc..006feca30a 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.dependent_frames won't be initialized because
+ * More importantly, edt.pi.fd.dependent_frames won't be initialized because
* epan hasn't been initialized.
*/
if (edt) {
- g_slist_foreach(edt->pi.dependent_frames, find_and_mark_frame_depended_upon, cf->provider.frames);
+ g_slist_foreach(edt->pi.fd->dependent_frames, find_and_mark_frame_depended_upon, cf->provider.frames);
}
cf->count++;