aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.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 /tshark.c
parent1d2a8bff3c035be938bbc2c814cd1417720ff09c (diff)
epan: Allow nested dependent packets
Save all dependent frames when there are multiple levels of reassembly.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index 8401673281..5244f5670e 100644
--- a/tshark.c
+++ b/tshark.c
@@ -3120,14 +3120,14 @@ 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 we *are* doing dissection, then mark the dependent frames, but only
* if a display filter was given and it matches this packet.
*/
if (edt && cf->dfcode) {
if (dfilter_apply_edt(cf->dfcode, 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);
}
}