Add debug print statement for management frame fields in analyze_pcap

This commit is contained in:
Yaro Kasear 2025-04-16 10:36:31 -05:00
parent d255618f0e
commit 33e6fb35c9

View file

@ -331,8 +331,10 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
if subtype not in (5, 8): # Probe Response or Beacon
continue
try:
mgt = packet.get_multiple_layers('wlan.mgt')[0]
print(mgt._all_fields)
ssid = mgt.get_field('ssid')
if ssid is None:
print("[DEBUG] SSID is None (explicitly)")