Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

A quick look at epan/wslua/wslua_tvb.c seems to show that TvbRange_raw() works with the underlying TVB based on the parameters passed into this functions, not based on the boundaries set by the creation of the TvbRange.

When looking at TvbRange_tvb() a actual new TVB is created, based on the given boundaries set by the creation of the TvbRange. So taking raw() from that new Tvb does yield the desired result.

So yes, this can be explained, and no, you're not doing something wrong. You just happened to find the workaround.