mirror of
https://github.com/bettercap/bettercap
synced 2025-07-11 15:46:59 -07:00
fix: using proper v2 package suffix (fixes #727)
This commit is contained in:
parent
76e136a18e
commit
2659a559c9
131 changed files with 318 additions and 297 deletions
|
@ -3,7 +3,8 @@ package js
|
|||
import (
|
||||
"math/rand"
|
||||
"net"
|
||||
"github.com/bettercap/bettercap/network"
|
||||
|
||||
"github.com/bettercap/bettercap/v2/network"
|
||||
)
|
||||
|
||||
type randomPackage struct {
|
||||
|
@ -23,4 +24,4 @@ func (c randomPackage) Mac() string {
|
|||
hw := make([]byte, 6)
|
||||
rand.Read(hw)
|
||||
return network.NormalizeMac(net.HardwareAddr(hw).String())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue