diff options
author | Tomasz Moń <desowin@gmail.com> | 2014-10-08 19:45:11 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-10-08 21:32:40 +0000 |
commit | 0066776f729742982014b8828c7fdfbf0d544c10 (patch) | |
tree | 4b17abede379ab61d0ff0703734c85d7707fc841 /doc | |
parent | c83169f343c9a1b7ebbc98badf0d351ef406730e (diff) | |
download | wireshark-0066776f729742982014b8828c7fdfbf0d544c10.tar.gz |
Fix --extcap-dlts call in extcap_example.py.
There is regular expression that extracts only the number from
--extcap-interface argument and only that number (as string) is being
passed to extcap_dlts().
Change-Id: I5159f9405a766c1edff792213b2aef72b9a29ba4
Reviewed-on: https://code.wireshark.org/review/4550
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/extcap_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extcap_example.py b/doc/extcap_example.py index 102caad7ef..f920bd7618 100755 --- a/doc/extcap_example.py +++ b/doc/extcap_example.py @@ -92,7 +92,7 @@ def extcap_interfaces(): print ("interface {value=example1}{display=Example interface usage for extcap}") def extcap_dlts(interface): - if ( interface == 'example1' ): + if ( interface == '1' ): print ("dlt {number=147}{name=USER0}{display=Demo Implementation for Extcap}") """ |