Wireshark-commits: [Wireshark-commits] master 0c889d6: Require at least libpcap 0.8/WinPcap 3.1.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 13 Mar 2020 00:05:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0c889d6f5cfdbf008a345fa3292ee468931ab49a
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0c889d6 by Guy Harris (guy@xxxxxxxxxxxx):

    Require at least libpcap 0.8/WinPcap 3.1.
    
    2004 called, they want their libpcap/WinPcap back.
    
    RHEL 6 initially shipped with libpcap 1.0; even old Enterprise(TM)
    versions of OSes ship with something shinier than 0.7.x these days.
    
    This lets us get rid of a bunch of #ifdefs and workaround code for
    missing APIs.
    
    Change-Id: I862cb027418b0a0c0f45a26979acea82f93f833b
    Reviewed-on: https://code.wireshark.org/review/36383
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  f77c677   Fix some places where we forgot to mention Npcap.
     add  0c889d6   Require at least libpcap 0.8/WinPcap 3.1.


Summary of changes:
 caputils/capture-pcap-util-int.h  |   2 -
 caputils/capture-pcap-util-unix.c | 256 -----------------------
 caputils/capture-pcap-util.c      | 107 ----------
 caputils/capture-wpcap.c          | 420 ++------------------------------------
 cmake/modules/FindPCAP.cmake      | 114 ++++++-----
 cmakeconfig.h.in                  |  34 ---
 dumpcap.c                         |  74 +------
 tshark.c                          |  46 ++---
 8 files changed, 98 insertions(+), 955 deletions(-)