mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
855f9b243e
commit
38694ad091
1 changed files with 1 additions and 2 deletions
|
@ -71,8 +71,7 @@ func (w *WiFiModule) startDeauth(to net.HardwareAddr) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(toDeauth) == 0 {
|
if len(toDeauth) == 0 {
|
||||||
return fmt.Errorf("%s is an unknown BSSID.", to.String())
|
return fmt.Errorf("%s is an unknown BSSID or doesn't have detected clients.", to.String())
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// since we need to change the wifi adapter channel for each
|
// since we need to change the wifi adapter channel for each
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue