mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 21:42:06 -07:00
lint driven refactoring
This commit is contained in:
parent
bc3be7dd2b
commit
7919cda5ec
12 changed files with 45 additions and 49 deletions
|
@ -30,7 +30,7 @@ func findMAC(s *session.Session, ip net.IP, probe bool) (net.HardwareAddr, error
|
|||
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
mac, err = network.ArpLookup(s.Interface.Name(), ip.String(), false)
|
||||
mac, _ = network.ArpLookup(s.Interface.Name(), ip.String(), false)
|
||||
}
|
||||
|
||||
if mac == "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue