mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
misc: refactored modules.findMAC to session.FindMAC
This commit is contained in:
parent
81f1d6b88f
commit
31895569f7
4 changed files with 36 additions and 50 deletions
|
@ -223,7 +223,7 @@ func (s *SynScanner) synScan() error {
|
|||
if !s.Running() {
|
||||
break
|
||||
}
|
||||
mac, err := findMAC(s.Session, address, true)
|
||||
mac, err := s.Session.FindMAC(address, true)
|
||||
if err != nil {
|
||||
atomic.AddUint64(&s.stats.doneProbes, s.stats.numPorts)
|
||||
log.Debug("Could not get MAC for %s: %s", address.String(), err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue