Put quotes around Tshark filter ... otherwise tshark locks up

This commit is contained in:
derv82
2018-04-01 15:23:56 -04:00
parent e8c0843bdf
commit a4110b4cf9

View File

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