Browse Source

fixed module imports

0xdcarns 3 years ago
parent
commit
61e5ae9d02
2 changed files with 4 additions and 0 deletions
  1. 2 0
      netclient/local/routes_darwin.go
  2. 2 0
      netclient/local/routes_freebsd.go

+ 2 - 0
netclient/local/routes_darwin.go

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

+ 2 - 0
netclient/local/routes_freebsd.go

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