Wireshark-commits: [Wireshark-commits] master 51a99ca: Clean up #ifdeffed code.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 7 Jan 2016 05:57:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=51a99ca2b393d5709274822b92c97aebc7934fd0
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

51a99ca by Guy Harris (guy@xxxxxxxxxxxx):

    Clean up #ifdeffed code.
    
    We only need is_linux_bonding_device() if we have pcap_create().  We
    need get_data_link_types() regardless of whether we have pcap_create()
    or not.
    
    Change-Id: I035f8ddcd57c0424662a2029f928bffa969a3f6c
    Reviewed-on: https://code.wireshark.org/review/13099
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  88b6c76   Don't declare libpcap wrappers if we're not building with libpcap.
    adds  51a99ca   Clean up #ifdeffed code.


Summary of changes:
 caputils/capture-pcap-util.c |   80 +++++++++++++++++++++---------------------
 1 file changed, 40 insertions(+), 40 deletions(-)