Ethereal-dev: RE: [Ethereal-dev] Bug in capture menu

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Peter Kjellerstedt" <peter.kjellerstedt@xxxxxxxx>
Date: Thu, 10 Feb 2005 18:41:51 +0100
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx 
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Ulf Lamping
> Sent: Thursday, February 10, 2005 02:57
> To: Ethereal development
> Subject: Re: [Ethereal-dev] Bug in capture menu
> 
> Peter Kjellerstedt wrote:
> 
> >After this fix I get the Welcome pane whenever I do a live 
> >capture. The reason is that the cf_cb_live_capture_started 
> >event is never called at all any more...
> >
> >I added the following temporary fix to my tree to get it to 
> >work at all. This is of course not the correct way to do it,
> >but I did not have time to investigate it further.
> 
> Hi!
> 
> Just checked in a fix for this, hopefully it's working ok now.
> 
> cf_callback_invoke(cf_cb_live_capture_started) had to be called from 
> file.c cf_start_tail()
> 
> Regards, ULFL

Ok, this fixes the case where the packet list is updated while 
capturing (which thankfully is what I use). However, the case 
where the capture list is not updated till after the capture 
has finished still shows the welcome pane.

//Peter