Add some XXX comment.
authorJakub Zawadzki <darkjames-ws@darkjames.pl>
Wed, 14 Aug 2013 20:14:38 +0000 (20:14 -0000)
committerJakub Zawadzki <darkjames-ws@darkjames.pl>
Wed, 14 Aug 2013 20:14:38 +0000 (20:14 -0000)
svn path=/trunk/; revision=51358

frame_tvbuff.c

index b6d454511392b62ec4a7ae59333d4ea383110907..67b8264a2a90c89b3378539961e5e01efbaebaf0 100644 (file)
@@ -56,6 +56,9 @@ frame_read(struct tvb_frame *frame_tvb, struct wtap_pkthdr *phdr, Buffer *buf)
        if (cfile.wth != frame_tvb->wth)
                return FALSE;
 
+       /* XXX, frame_tvb->tvb.length + frame_tvb->offset might be not real captured packet length
+        *      can it cause some problems for wiretap readers?
+        */
        if (!wtap_seek_read(frame_tvb->wth, frame_tvb->file_off, phdr, buf, frame_tvb->tvb.length + frame_tvb->offset, &err, &err_info)) {
                switch (err) {
                        case WTAP_ERR_UNSUPPORTED_ENCAP: