Add debug print statement to display clients for each AP in deadpoint check
This commit is contained in:
parent
95c7225628
commit
07cbb5c62c
1 changed files with 2 additions and 0 deletions
|
@ -232,6 +232,8 @@ def channel_hopper(interface):
|
||||||
time.sleep(CHANNEL_HOP_INTERVAL)
|
time.sleep(CHANNEL_HOP_INTERVAL)
|
||||||
|
|
||||||
def is_deadpoint(ap_bssid):
|
def is_deadpoint(ap_bssid):
|
||||||
|
# For debuggibg purposes, pretty-print each AP's clients
|
||||||
|
print(f"[+] AP {ap_bssid} clients: {ap_clients[ap_bssid]}")
|
||||||
return sum(ap_clients[ap_bssid].values()) < 2 # No meaningful client interaction
|
return sum(ap_clients[ap_bssid].values()) < 2 # No meaningful client interaction
|
||||||
|
|
||||||
# === Main ===
|
# === Main ===
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue