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>
This commit is contained in:
Tomasz Moń 2014-10-08 19:45:11 +02:00 committed by Pascal Quantin
parent c83169f343
commit 0066776f72
1 changed files with 1 additions and 1 deletions

View File

@ -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}")
"""