wip: migrate to mono-repo. SPN has already been moved to spn/
This commit is contained in:
9
service/netenv/location_default.go
Normal file
9
service/netenv/location_default.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build !windows
|
||||
|
||||
package netenv
|
||||
|
||||
import "net"
|
||||
|
||||
func newICMPListener(_ string) (net.PacketConn, error) { //nolint:unused,deadcode // TODO: clean with Windows code later.
|
||||
return net.ListenPacket("ip4:icmp", "0.0.0.0")
|
||||
}
|
||||
Reference in New Issue
Block a user