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
ca734335fa
commit
81f1d6b88f
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ func (w *WiFiModule) startDeauth(to net.HardwareAddr) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(toDeauth) == 0 {
|
if len(toDeauth) == 0 {
|
||||||
|
if isBcast {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
return fmt.Errorf("%s is an unknown BSSID, is in the deauth skip list, or doesn't have detected clients.", to.String())
|
return fmt.Errorf("%s is an unknown BSSID, is in the deauth skip list, or doesn't have detected clients.", to.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue