Wireshark-dev: Re: [Wireshark-dev] Need advice on modifying tvb

From: didier <dgautheron@xxxxxxxx>
Date: Tue, 24 Nov 2009 21:25:47 +0100
Hi,
Le mardi 24 novembre 2009 ᅵ 15:05 -0500, Beth a ᅵcrit :
> tvb_new_subset doesn't allow me to change the contents, does it?  If
> it does, then you are correct that would be the easiest way.  But I
> thought that tvb data was considered constant, and if you needed to
> modify it then you should create a new tvb.
Did you add a new data source? It might work but it won't be pretty.
> 
> Somehow have to change that checksum of the frame that I am forwarding
> to the builtin dissector.
Another option would be to add a new preference to the standard
dissector: disable checksum.

Didier