Wireshark-commits: [Wireshark-commits] master 2d33cb6: tshark: perform NPF driver check for capture

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 05 Aug 2018 04:48:37 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2d33cb67cc74ba30541be10794f404ec3639f875
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2d33cb6 by Peter Wu (peter@xxxxxxxxxxxxx):

    tshark: perform NPF driver check for capture only
    
    In CI environments with no capture driver, the test_tshark_dump_glossary
    test could fail because "tshark -G decodes" contains an error message.
    
    Postpone the check until the moment where a capture is actually started.
    It also no longer shows with tshark -L, -D, --version, etc.
    
    Change-Id: I6674c6fe007c99576c777a025cd44b3f2e594b59
    Reviewed-on: https://code.wireshark.org/review/28966
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  114012d   AT: fix check for non-numeric CME errors
     add  2d33cb6   tshark: perform NPF driver check for capture only


Summary of changes:
 tshark.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)