mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
9 lines
156 B
Go
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")
|
|
}
|