Wireshark mailing list archives

Bug in extcap?


From: Anders Esbensen <Anders.Esbensen () silabs com>
Date: Sat, 25 Jan 2020 21:53:29 +0000


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

<http://www.silabs.com/>

Attachment: terminate_extcap_on_linux_osx.patch
Description: terminate_extcap_on_linux_osx.patch

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

Current thread: