aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-20 19:27:24 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-20 19:27:24 +0000
commit77368c3668ee6d2a802eb9cf4d0a639f7ebf16e6 (patch)
treef92d055cb7296bed1d2cc96c450ddc591ee7cfc0 /file.c
parent6dc977b7d2b0f807d21ef2978fc81e10c7bb00be (diff)
Introduce epan_dissect_run_with_taps() which run dissection with taps.
unexport tap_queue_init, tap_push_tapped_queue svn path=/trunk/; revision=45670
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;