mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: ignoring broadcast addresses
This commit is contained in:
parent
d45fc6a851
commit
7bc0f6cf11
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func (tp *Targets) Remove(ip, mac string) {
|
|||
}
|
||||
|
||||
func (tp *Targets) shouldIgnore(ip string) bool {
|
||||
return (ip == tp.Interface.IpAddress || ip == tp.Gateway.IpAddress)
|
||||
return (ip == tp.Interface.IpAddress || ip == tp.Gateway.IpAddress || ip == "255.255.255.255")
|
||||
}
|
||||
|
||||
func (tp *Targets) Has(ip string) bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue