fixed module imports

This commit is contained in:
0xdcarns 2022-04-25 13:22:56 -04:00
parent cee0ed1c39
commit 61e5ae9d02
2 changed files with 4 additions and 0 deletions

View file

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

View file

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