mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
Adjust network/environment import paths
This commit is contained in:
parent
9f6edae70b
commit
6ab5305dd9
4 changed files with 6 additions and 5 deletions
network/environment
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue