diff options
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; |