diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-11 05:47:02 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-11 05:47:02 +0000 |
commit | ce81449ed9294f0104598762ce293c3521820987 (patch) | |
tree | 26efdeea2934c6e99869fc3e5761451043dc3e05 /rawshark.c | |
parent | 19d2d0dc765cd2417d693746226472207190434a (diff) |
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
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <epan/packet.h> #include "file.h" +#include "frame_tvbuff.h" #include "disabled_protos.h" #include <epan/prefs.h> #include <epan/column.h> @@ -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; |