Wireshark-dev: [Wireshark-dev] Extcap version
From: Dario Lombardo <[email protected]>
Date: Mon, 27 Feb 2017 11:19:21 +0100
Hi
In extcap structs I've found 2 entries for "version". In

typedef struct _extcap_interface {
    gchar * call;
    gchar * display;
    gchar * version;
    gchar * help;
    gchar * extcap_path;

    extcap_sentence_type if_type;
} extcap_interface;

and

typedef struct _extcap_info {
    gchar * basename;
    gchar * full_path;
    gchar * version;

    GList * interfaces;
} extcap_info;

Is that intentional? While I get the reason for version in extcap info, I don't get it for interface. Moreover, extcap tools show global version but not version in interface

extcap {version=1.0.0}{help=file:///usr/local/share/wireshark/ciscodump.html}
interface {value=cisco}{display=Cisco remote capture}
extcap {version=0.1.0}{help=file:///usr/local/share/wireshark/randpktdump.html}
interface {value=randpkt}{display=Random packet generator}
extcap {version=1.0.0}{help=file:///usr/local/share/wireshark/sshdump.html}
interface {value=ssh}{display=SSH remote capture}
extcap {version=0.1.0}{help=file:///usr/local/share/wireshark/udpdump.html}
interface {value=udpdump}{display=UDP Listener remote capture}

What is it for?