mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
Merge branch 'master' of github.com:evilsocket/bettercap-ng
This commit is contained in:
commit
b614f195c5
3 changed files with 4 additions and 3 deletions
|
@ -93,6 +93,7 @@ func (p *ArpSpoofer) getMAC(ip net.IP, probe bool) (net.HardwareAddr, error) {
|
|||
return nil, fmt.Errorf("Could not find hardware address for %s.", ip.String())
|
||||
}
|
||||
|
||||
mac = network.NormalizeMac(mac)
|
||||
hw, err = net.ParseMAC(mac)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Error while parsing hardware address '%s' for %s: %s", mac, ip.String(), err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue