mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
more lint driven refactoring
This commit is contained in:
parent
7919cda5ec
commit
0de6f3a76e
57 changed files with 168 additions and 241 deletions
|
@ -18,7 +18,7 @@ func findMAC(s *session.Session, ip net.IP, probe bool) (net.HardwareAddr, error
|
|||
|
||||
// do we have this ip mac address?
|
||||
mac, err = network.ArpLookup(s.Interface.Name(), ip.String(), false)
|
||||
if err != nil && probe == true {
|
||||
if err != nil && probe {
|
||||
from := s.Interface.IP
|
||||
from_hw := s.Interface.HW
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue