Fix pyshark FileCapture parameters in analyze_pcap function

This commit is contained in:
Yaro Kasear 2025-04-28 13:53:25 -05:00
parent 69c46aff22
commit e05c3fba99

View file

@ -32,7 +32,8 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
cap = pyshark.FileCapture(
pcapng_path,
use_json=True,
include_raw=False
include_raw=False,
keep_packets=False
)
ap_channel = int(ap_channel)