mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 02:44:29 +08:00
fixed module imports
This commit is contained in:
parent
cee0ed1c39
commit
61e5ae9d02
2 changed files with 4 additions and 0 deletions
|
@ -4,7 +4,9 @@ import (
|
|||
"net"
|
||||
"strings"
|
||||
|
||||
"github.com/gravitl/netmaker/logger"
|
||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||
"github.com/seancfoley/ipaddress-go/ipaddr"
|
||||
)
|
||||
|
||||
// route -n add -net 10.0.0.0/8 192.168.0.254
|
||||
|
|
|
@ -3,7 +3,9 @@ package local
|
|||
import (
|
||||
"net"
|
||||
|
||||
"github.com/gravitl/netmaker/logger"
|
||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||
"github.com/seancfoley/ipaddress-go/ipaddr"
|
||||
)
|
||||
|
||||
func setRoute(iface string, addr *net.IPNet, address string) error {
|
||||
|
|
Loading…
Add table
Reference in a new issue