diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-10-20 19:27:24 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-10-20 19:27:24 +0000 |
commit | 77368c3668ee6d2a802eb9cf4d0a639f7ebf16e6 (patch) | |
tree | f92d055cb7296bed1d2cc96c450ddc591ee7cfc0 /rawshark.c | |
parent | 6dc977b7d2b0f807d21ef2978fc81e10c7bb00be (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 'rawshark.c')
-rw-r--r-- | rawshark.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rawshark.c b/rawshark.c index ed36951066..687d2b763a 100644 --- a/rawshark.c +++ b/rawshark.c @@ -1057,8 +1057,6 @@ process_packet(capture_file *cf, gint64 offset, struct wtap_pkthdr *whdr, } } - tap_queue_init(&edt); - printf("%lu", (unsigned long int) cf->count); frame_data_set_before_dissect(&fdata, &cf->elapsed_time, @@ -1067,9 +1065,7 @@ process_packet(capture_file *cf, gint64 offset, struct wtap_pkthdr *whdr, /* We only need the columns if we're printing packet info but we're *not* verbose; in verbose mode, we print the protocol tree, not the protocol summary. */ - epan_dissect_run(&edt, whdr, pd, &fdata, &cf->cinfo); - - tap_push_tapped_queue(&edt); + epan_dissect_run_with_taps(&edt, whdr, pd, &fdata, &cf->cinfo); frame_data_set_after_dissect(&fdata, &cum_bytes); prev_dis_frame = fdata; |