mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +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
|
@ -4,7 +4,7 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Safing/safing-core/network/netutils"
|
"github.com/Safing/portmaster/network/netutils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetAssignedAddresses() (ipv4 []net.IP, ipv6 []net.IP, err error) {
|
func GetAssignedAddresses() (ipv4 []net.IP, ipv6 []net.IP, err error) {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Safing/safing-core/log"
|
"github.com/Safing/portbase/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO: find a good way to identify a network
|
// TODO: find a good way to identify a network
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
||||||
"github.com/Safing/safing-core/log"
|
"github.com/Safing/portbase/log"
|
||||||
"github.com/Safing/safing-core/network/netutils"
|
"github.com/Safing/portmaster/network/netutils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Gateways returns the currently active gateways
|
// Gateways returns the currently active gateways
|
||||||
|
|
|
@ -8,9 +8,10 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"github.com/Safing/safing-core/network/netutils"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/Safing/portmaster/network/netutils"
|
||||||
|
|
||||||
"golang.org/x/net/icmp"
|
"golang.org/x/net/icmp"
|
||||||
"golang.org/x/net/ipv4"
|
"golang.org/x/net/ipv4"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue