We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d3df84 commit 49af0afCopy full SHA for 49af0af
ping/socket_unix.go
@@ -30,7 +30,7 @@ func connect(privileged bool, controlFunc control.Func, destination netip.Addr)
30
fd, err = unix.Socket(unix.AF_INET, unix.SOCK_RAW, unix.IPPROTO_ICMP)
31
}
32
} else {
33
- network = "ip6:icmp"
+ network = "ip6:icmp-ipv6"
34
if !privileged {
35
fd, err = unix.Socket(unix.AF_INET6, unix.SOCK_DGRAM, unix.IPPROTO_ICMPV6)
36
0 commit comments