Fix pyshark FileCapture parameters in analyze_pcap function
This commit is contained in:
parent
69c46aff22
commit
e05c3fba99
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
|
||||||
cap = pyshark.FileCapture(
|
cap = pyshark.FileCapture(
|
||||||
pcapng_path,
|
pcapng_path,
|
||||||
use_json=True,
|
use_json=True,
|
||||||
include_raw=False
|
include_raw=False,
|
||||||
|
keep_packets=False
|
||||||
)
|
)
|
||||||
|
|
||||||
ap_channel = int(ap_channel)
|
ap_channel = int(ap_channel)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue