From ce81449ed9294f0104598762ce293c3521820987 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Thu, 11 Jul 2013 05:47:02 +0000 Subject: packet dissection now takes pointer to tvb instead of guint8 data implement frame_tvbuff, right now almost a copy of 'real' tvb. svn path=/trunk/; revision=50497 --- rawshark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rawshark.c') diff --git a/rawshark.c b/rawshark.c index 3634d2317a..670b9addba 100644 --- a/rawshark.c +++ b/rawshark.c @@ -73,6 +73,7 @@ #include "globals.h" #include #include "file.h" +#include "frame_tvbuff.h" #include "disabled_protos.h" #include #include @@ -1077,7 +1078,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_with_taps(&edt, whdr, pd, &fdata, &cf->cinfo); + epan_dissect_run_with_taps(&edt, whdr, frame_tvbuff_new(&fdata, pd), &fdata, &cf->cinfo); frame_data_set_after_dissect(&fdata, &cum_bytes); prev_dis_frame = fdata; -- cgit v1.2.3