Put quotes around Tshark filter ... otherwise tshark locks up
This commit is contained in:
1 parent
e8c0843bdf
commit
a4110b4cf9
1 file changed
+2
-2
@@ -116,9 +116,9 @@ class Tshark(object):
|
||||
command = [
|
||||
'tshark',
|
||||
'-r', capfile, # Path to cap file
|
||||
# Extract beacon frames
|
||||
'-Y', 'wlan.fc.type_subtype == 0x08 || wlan.fc.type_subtype == 0x05',
|
||||
'-n', # Don't resolve addresses
|
||||
# Extract beacon frames
|
||||
'-Y', '"wlan.fc.type_subtype == 0x08 || wlan.fc.type_subtype == 0x05"',
|
||||
]
|
||||
tshark = Process(command, devnull=False)
|
||||
|
||||
|
||||
Reference in new issue
Block a user