mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
ndp.spoof: fix format string
This commit is contained in:
parent
e5f8c168c3
commit
27bae1cd3b
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ func (mod *NDPSpoofer) getTargets(probe bool) map[string]net.HardwareAddr {
|
||||||
if hw, err := mod.Session.FindMAC(ip, probe); err == nil {
|
if hw, err := mod.Session.FindMAC(ip, probe); err == nil {
|
||||||
targets[ip.String()] = hw
|
targets[ip.String()] = hw
|
||||||
} else {
|
} else {
|
||||||
mod.Info("couldn't get MAC for ip=%s, put it into the neighbour table manually e.g. ping -6")
|
mod.Info("couldn't get MAC for ip=%s, put it into the neighbour table manually e.g. ping -6", ip)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue