ndp.spoof: fix format string

This commit is contained in:
Trevor Bergeron 2023-03-15 10:04:05 -04:00
commit 27bae1cd3b
No known key found for this signature in database
GPG key ID: 6DA880FE359869BE

View file

@ -182,7 +182,7 @@ func (mod *NDPSpoofer) getTargets(probe bool) map[string]net.HardwareAddr {
if hw, err := mod.Session.FindMAC(ip, probe); err == nil {
targets[ip.String()] = hw
} 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)
}
}