Update tag extraction in analyze_pcap to use internal field access for improved reliability
This commit is contained in:
parent
a77c448503
commit
3c9fe372ad
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
|
|||
try:
|
||||
mgt = packet.get_multiple_layers('wlan.mgt')[0]
|
||||
if hasattr(mgt, 'get_field'):
|
||||
tags = mgt.get_field('tag')
|
||||
tags = mgt._all_fields.get('wlan.tagged.all', {}).get('wlan.tag', [])
|
||||
if not tags:
|
||||
print("[DEBUG] wlan.mgt present, but no tags parsed.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue