fix: using proper v2 package suffix (fixes #727)

This commit is contained in:
Simone Margaritelli 2024-08-09 18:19:21 +02:00
commit 2659a559c9
131 changed files with 318 additions and 297 deletions

View file

@ -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
}
}