Wireshark-commits: [Wireshark-commits] master c2422d7: extcap: Tell utilities the wireshark version

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 05 Apr 2018 08:40:13 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c2422d78281e10beb6ce4ebda1d61c9d0ca63a09
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

c2422d7 by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx):

    extcap: Tell utilities the wireshark version
    
    Add an optional argument to extcap-version, which tells the utilities
    the wireshark version and therefore allows them to handle different
    versions differently.
    
    If no version is provided, the utility has to assume it is dealing
    with a Wireshark 2.x version (default behavior).
    
    Change-Id: I51658300f28f503ca8050d204b73749f1a54df16
    Reviewed-on: https://code.wireshark.org/review/26752
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  5d8964c   Qt: Require 5.2 or newer
    adds  c2422d7   extcap: Tell utilities the wireshark version


Summary of changes:
 doc/extcap_example.py |  8 ++++++++
 extcap.c              | 25 ++++++++++++++++++++++++-
 extcap.h              |  1 +
 extcap/extcap-base.c  |  2 ++
 extcap/extcap-base.h  |  2 ++
 5 files changed, 37 insertions(+), 1 deletion(-)