Wireshark-commits: [Wireshark-commits] master-3.2 677ca96: extcap: Pass --extcap-version if extcap

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 Dec 2019 11:15:30 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=677ca96c27b9cda803b3d96a748612079b74d0eb
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

677ca96 by Rafał Kuźnia (rafal.kuznia@xxxxxxxxxxxxxx):

    extcap: Pass --extcap-version if extcap supports it
    
    This change makes the --extcap-version argument to be passed to the extcap
    script, if it is supported. If the extcap fails with --extcap-version argument,
    it is treated as legacy and will not receive the additional argument in all
    subsequent runs.
    
    Change-Id: I279aa38d9f39ed85ccb84ba2c09dd93a0492ca51
    Reviewed-on: https://code.wireshark.org/review/34914
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 9910d8c913d2a1874c7f98ef3bf3ad2921dd67e4)
    Reviewed-on: https://code.wireshark.org/review/35386
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  01f261d   btatt: check the opcode against the current data.
     add  677ca96   extcap: Pass --extcap-version if extcap supports it


Summary of changes:
 extcap.c        | 75 +++++++++++++++++++++++++++++++++++++++++++++------------
 extcap_parser.h | 11 +++++----
 2 files changed, 66 insertions(+), 20 deletions(-)