aboutsummaryrefslogtreecommitdiffstats
path: root/doc/extcap_example.py
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2014-10-08 19:45:11 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-10-08 21:32:40 +0000
commit0066776f729742982014b8828c7fdfbf0d544c10 (patch)
tree4b17abede379ab61d0ff0703734c85d7707fc841 /doc/extcap_example.py
parentc83169f343c9a1b7ebbc98badf0d351ef406730e (diff)
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/extcap_example.py')
-rwxr-xr-xdoc/extcap_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extcap_example.py b/doc/extcap_example.py
index 102caad..f920bd7 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}")
"""