Wireshark-dev: Re: [Wireshark-dev] Problems when changing a dissector preference

From: "Didier" <dgautheron@xxxxxxxx>
Date: Tue, 20 Nov 2007 01:36:12 +0100
[UTF-8?]On Mon, 19 Nov 2007 22:35:14 +0100, Stig Bj�rlykke wrote
> On 19. nov.. 2007, at 22.15, Jeff Morriss wrote:
> 
> > Free it (and recreate it) in a routine registered with
> > register_init_routine() instead?
> 
> I am freeing it in the register_init_routine (which is called), but  
> does not recreate it before the packages are dissected again.  And  
> with flags.visited always TRUE I don't know if this is a "display 
> this  packet" or a reload because of a preference change.
Can you share a small capture? 
If register_init_routine() is called I don't see how flags.visited could be
false. cf file.c rescan_packets()

Didier