mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -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
|
@ -5,7 +5,7 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/v2/core"
|
||||
)
|
||||
|
||||
type ArpTable map[string]string
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/v2/core"
|
||||
)
|
||||
|
||||
type Meta struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/v2/core"
|
||||
|
||||
"github.com/evilsocket/islazy/data"
|
||||
"github.com/evilsocket/islazy/str"
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
//go:build !android
|
||||
// +build !android
|
||||
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/bettercap/bettercap/routing"
|
||||
"github.com/bettercap/bettercap/v2/routing"
|
||||
)
|
||||
|
||||
func FindGateway(iface *Endpoint) (*Endpoint, error) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package network
|
||||
|
||||
import (
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/v2/core"
|
||||
|
||||
"github.com/evilsocket/islazy/str"
|
||||
)
|
||||
|
@ -24,4 +24,4 @@ func FindGateway(iface *Endpoint) (*Endpoint, error) {
|
|||
}
|
||||
|
||||
return nil, ErrNoGateway
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/v2/core"
|
||||
)
|
||||
|
||||
// see Windows version to understand why ....
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue