aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/README.extcap6
-rwxr-xr-xdoc/extcap_example.py1
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/README.extcap b/doc/README.extcap
index cb32683eed..50dc1a82f3 100644
--- a/doc/README.extcap
+++ b/doc/README.extcap
@@ -44,13 +44,17 @@ in the doc/extcap.4 generated man page (in the build dir).
Example:
$ extcapbin --extcap-interfaces
+extcap {version=1.0}
interface {value=example1}{display=Example interface 1 for extcap}
interface {value=example2}{display=Example interface 2 for extcap}
+The version for the extcap sentence (which may exist as often as wanted, but only the
+last one will be used) will be used for displaying the version information of the extcap
+interface in the about dialog of Wireshark (Qt only).
+
The value for each interface will be used in subsequent calls as the interface
name IFACE.
-
STEP2: the extcap is queried for valid DLTs (Data Link Types) for all the
interfaces returned by the step 1.
diff --git a/doc/extcap_example.py b/doc/extcap_example.py
index 13c079d0ec..39bb571075 100755
--- a/doc/extcap_example.py
+++ b/doc/extcap_example.py
@@ -90,6 +90,7 @@ def extcap_config(interface):
def extcap_interfaces():
+ print ("extcap {version=1.0}")
print ("interface {value=example1}{display=Example interface usage for extcap}")
def extcap_dlts(interface):