Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 29427: /trunk/ /trunk/epan/dissector
From: didier <dgautheron@xxxxxxxx>
Date: Sun, 27 Sep 2009 21:50:59 +0200
Hi,
Le vendredi 25 septembre 2009 à 14:30 -0700, Guy Harris a écrit :
> On Aug 14, 2009, at 11:38 PM, krj@xxxxxxxxxxxxx wrote:
> 
> > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=29427
> >
> > User: krj
> > Date: 2009/08/14 11:38 PM
> >
> > Log:
> > This patch introduces packet_add_new_data_source() which effectively  
> > deprecates add_new_data_source(). This is based on the following  
> > observation:
> >
> > 1) The tvb + name (aka. data_source) is only used when the protocol  
> > tree is visible
> 
> Nope.  It's also used, for example, by "tshark -x", even if "-V" isn't  
> specified.  There may be other places where it's used as well.
Hum, does it means that all dissectors using
if (tree) {...; call_dissector(data_handle,...) }

Have to be modified?
Didier