diff options
Diffstat (limited to 'frame_tvbuff.c')
-rw-r--r-- | frame_tvbuff.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frame_tvbuff.c b/frame_tvbuff.c index 20635fd958..ecddaf3459 100644 --- a/frame_tvbuff.c +++ b/frame_tvbuff.c @@ -68,7 +68,6 @@ frame_read(struct tvb_frame *frame_tvb, struct wtap_pkthdr *phdr, Buffer *buf) return TRUE; } - static void frame_invalidate(struct tvb_frame *frame_tvb) { @@ -84,7 +83,7 @@ frame_invalidate(struct tvb_frame *frame_tvb) { /* TODO: THROW(???); */ } } - frame_tvb->tvb.real_data = buffer_start_ptr(frame_tvb->buf); + frame_tvb->tvb.real_data = buffer_start_ptr(frame_tvb->buf) + frame_tvb->offset; } static void |