mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
Merge pull request #1023 from half-duplex/ndp-spoof-ip-fmt
ndp.spoof: fix "couldn't get MAC" format string
This commit is contained in:
commit
bdc389eaee
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