Skip to content

Commit

Permalink
ndp.spoof: fix format string
Browse files Browse the repository at this point in the history
  • Loading branch information
half-duplex committed Mar 15, 2023
1 parent e5f8c16 commit 27bae1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ndp_spoof/ndp_spoof.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 27bae1c

Please sign in to comment.