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
efe9fd1ab9
commit
3bcbbefe96
2 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,7 @@ func (lan *LAN) shouldIgnore(ip, mac string) bool {
|
|||
return true
|
||||
}
|
||||
// skip broadcast addresses
|
||||
if strings.HasSuffix(ip, ".255") {
|
||||
if strings.HasSuffix(ip, BroadcastSuffix) {
|
||||
return true
|
||||
}
|
||||
// skip broadcast macs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue