Compare commits
2 commits
ccbe5b92a1
...
3c9fe372ad
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3c9fe372ad | ||
![]() |
a77c448503 |
1 changed files with 2 additions and 2 deletions
|
@ -354,7 +354,7 @@ def analyze_pcap(pcapng_path, start_ts, end_ts, ap_bssid, ap_channel):
|
||||||
try:
|
try:
|
||||||
mgt = packet.get_multiple_layers('wlan.mgt')[0]
|
mgt = packet.get_multiple_layers('wlan.mgt')[0]
|
||||||
if hasattr(mgt, 'get_field'):
|
if hasattr(mgt, 'get_field'):
|
||||||
tags = mgt.get_field('tag')
|
tags = mgt._all_fields.get('wlan.tagged.all', {}).get('wlan.tag', [])
|
||||||
if not tags:
|
if not tags:
|
||||||
print("[DEBUG] wlan.mgt present, but no tags parsed.")
|
print("[DEBUG] wlan.mgt present, but no tags parsed.")
|
||||||
|
|
||||||
|
@ -456,7 +456,7 @@ def main():
|
||||||
'AvgAPSignal': avg_signal,
|
'AvgAPSignal': avg_signal,
|
||||||
'StrongestAPSignal': strongest_signal,
|
'StrongestAPSignal': strongest_signal,
|
||||||
'UnlinkedDevices': unlinked,
|
'UnlinkedDevices': unlinked,
|
||||||
'CiscoReportedClients': cisco_avg_reported_clients,
|
'CiscoAvgReportedClients': cisco_avg_reported_clients,
|
||||||
'CiscoMaxReportedClients': cisco_max_reported_clients
|
'CiscoMaxReportedClients': cisco_max_reported_clients
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue