mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 17:29:15 +08:00
fixed module imports
This commit is contained in:
@@ -4,7 +4,9 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/gravitl/netmaker/logger"
|
||||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
"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
|
// route -n add -net 10.0.0.0/8 192.168.0.254
|
||||||
|
@@ -3,7 +3,9 @@ package local
|
|||||||
import (
|
import (
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
|
"github.com/gravitl/netmaker/logger"
|
||||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||||
|
"github.com/seancfoley/ipaddress-go/ipaddr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setRoute(iface string, addr *net.IPNet, address string) error {
|
func setRoute(iface string, addr *net.IPNet, address string) error {
|
||||||
|
Reference in New Issue
Block a user