Wireshark-dev: Re: [Wireshark-dev] Bug in extcap?

From: Dario Lombardo <lomato@xxxxxxxxx>
Date: Sun, 26 Jan 2020 09:33:23 +0100
There is at least one bug open for that. Can you push a change on gerrit so we can start the review/discussion?

On Sat, Jan 25, 2020, 22:54 Anders Esbensen <Anders.Esbensen@xxxxxxxxxx> wrote:


Hi,

 

I’m seeing some issues with extcap on linux and osx. If I run udpdump and stop it again the udp process is not terminated. If I start udpdump once again I will have two udpdump processes running on my system. I’ve tested this on v2.4.5 and v3.2.1.

 

Looking though the code I cannot find any places in extcap.c where the dumper is terminated, but for Windows it seems that the dumper process is terminated in extcap.c:1142.

 

I’ve attached a patch which seems to solve the issue, but I’m not quite sure it’s the right thing to do.

 

Best regards

Anders

 

 

Anders Lynge Esbensen

Staff Software Engineer, IoT Software

 

Emdrupvej 28B, 2100 København Ø, Denmark

 

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe