mirror of
https://github.com/safing/portmaster
synced 2025-04-21 19:39:09 +00:00
9 lines
223 B
Go
9 lines
223 B
Go
//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")
|
|
}
|