safing-portmaster/netenv/location_default.go
Daniel b9f011fa37 Fix location estimation on Windows
Also, switch to a better Portal Test IP.
2020-08-19 16:17:27 +02:00

9 lines
156 B
Go

//+build !windows
package netenv
import "net"
func newICMPListener(_ string) (net.PacketConn, error) {
return net.ListenPacket("ip4:icmp", "0.0.0.0")
}