Re: [Wireshark-dev] Why is building with libpcap optional?

2016-10-17 Thread Guy Harris
On Oct 17, 2016, at 7:18 AM, Joerg Mayer wrote: > I tried to recall why building with libpcap is optional and failed. The reasons I can see for supporting building without libpcap on UN*X are: 1) some people might want a version of Wireshark that can read captures but can't capture tra

[Wireshark-dev] Why is building with libpcap optional?

2016-10-17 Thread Joerg Mayer
Hello, I tried to recall why building with libpcap is optional and failed. libpcap usage is deeply embedded into Wireshark and the resulting #ifdef/#ifndef HAVE_LIBPCAP shows: grep -r -E '#\s*if.*HAVE_LIBPCAP' . | wc -l 288 I'd really like to get rid of that and the "simplest" solution would