Ethereal-dev: Re: [Ethereal-dev] Dumpcap: Coredump when disconnecting Ethernet during capture

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 6 Dec 2005 14:55:05 +0100
On Tue, Dec 06, 2005 at 12:12:58PM +0100, Ulf Lamping wrote:
> Did you changed something for that, so dumpcap is actually used? The current Ethereal build (and all former builds) only *compiles* dumpcap but don't *use* it in any way. Ethereal is still using the "fork model" just like before.
> 
> The usage of dumpcap has still to come, when I think it's ready (which is currently really not).

Ah, OK, I was still only using the old Ethereal code :)

> Obviously that assumption was wrong, so capture.c: line 368 should look like:
> 
>   g_assert(capture_opts->state == CAPTURE_PREPARING || capture_opts->state == CAPTURE_RUNNING);

You patch works fine. As you are currently working on that code, I'll
let you do the checkin.

 Ciao
    Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.