aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/file.c b/file.c
index 554fa5f85f..b77b7732de 100644
--- a/file.c
+++ b/file.c
@@ -1121,9 +1121,7 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
&first_ts, prev_dis, prev_cap);
prev_cap = fdata;
- tap_queue_init(edt);
- epan_dissect_run(edt, phdr, buf, fdata, cinfo);
- tap_push_tapped_queue(edt);
+ epan_dissect_run_with_taps(edt, phdr, buf, fdata, cinfo);
/* If we don't have a display filter, set "passed_dfilter" to 1. */
if (dfcode != NULL) {
@@ -2286,9 +2284,7 @@ retap_packet(capture_file *cf _U_, frame_data *fdata,
epan_dissect_t edt;
epan_dissect_init(&edt, args->construct_protocol_tree, FALSE);
- tap_queue_init(&edt);
- epan_dissect_run(&edt, phdr, pd, fdata, args->cinfo);
- tap_push_tapped_queue(&edt);
+ epan_dissect_run_with_taps(&edt, phdr, pd, fdata, args->cinfo);
epan_dissect_cleanup(&edt);
return TRUE;