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:
parent
c83169f343
commit
0066776f72
|
@ -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}")
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue