Adjust network/environment import paths
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"net"
|
||||
"strings"
|
||||
|
||||
"github.com/Safing/safing-core/network/netutils"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
)
|
||||
|
||||
func GetAssignedAddresses() (ipv4 []net.IP, ipv6 []net.IP, err error) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/safing-core/log"
|
||||
"github.com/Safing/portbase/log"
|
||||
)
|
||||
|
||||
// TODO: find a good way to identify a network
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
|
||||
"github.com/miekg/dns"
|
||||
|
||||
"github.com/Safing/safing-core/log"
|
||||
"github.com/Safing/safing-core/network/netutils"
|
||||
"github.com/Safing/portbase/log"
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
)
|
||||
|
||||
// Gateways returns the currently active gateways
|
||||
|
||||
@@ -8,9 +8,10 @@ import (
|
||||
"log"
|
||||
"net"
|
||||
"os"
|
||||
"github.com/Safing/safing-core/network/netutils"
|
||||
"time"
|
||||
|
||||
"github.com/Safing/portmaster/network/netutils"
|
||||
|
||||
"golang.org/x/net/icmp"
|
||||
"golang.org/x/net/ipv4"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user