Add debug print statement for missing packet layers in analyze_pcap
This commit is contained in:
parent
5af62780ef
commit
d16d4bc171
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
|
||||||
for packet in filtered_packets:
|
for packet in filtered_packets:
|
||||||
try:
|
try:
|
||||||
if 'radiotap' not in packet or 'wlan' not in packet or 'wlan.mgt' not in packet:
|
if 'radiotap' not in packet or 'wlan' not in packet or 'wlan.mgt' not in packet:
|
||||||
|
print(f"[!] Packet does not contain required layers: {packet}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
radio = packet.radiotap
|
radio = packet.radiotap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue