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 /ui/gtk/rtp_analysis.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 'ui/gtk/rtp_analysis.c')
-rw-r--r-- | ui/gtk/rtp_analysis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c index 5bd3f49558..647775e6d4 100644 --- a/ui/gtk/rtp_analysis.c +++ b/ui/gtk/rtp_analysis.c @@ -93,6 +93,8 @@ #include "ui/gtk/old-gtk-compat.h" +#include "frame_tvbuff.h" + enum { PACKET_COLUMN, @@ -3946,7 +3948,7 @@ rtp_analysis_cb(GtkAction *action _U_, gpointer user_data _U_) return; /* error reading the frame */ epan_dissect_init(&edt, TRUE, FALSE); epan_dissect_prime_dfilter(&edt, sfcode); - epan_dissect_run(&edt, &cf->phdr, buffer_start_ptr(&cf->buf), fdata, NULL); + epan_dissect_run(&edt, &cf->phdr, frame_tvbuff_new_buffer(fdata, &cf->buf), fdata, NULL); /* if it is not an rtp frame, show the rtpstream dialog */ frame_matched = dfilter_apply_edt(sfcode, &edt); |