|
@@ -18,6 +18,9 @@ func TestBPF(t *testing.T) {
|
|
|
if runtime.GOOS != "linux" {
|
|
if runtime.GOOS != "linux" {
|
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
t.Skipf("not supported on %s", runtime.GOOS)
|
|
|
}
|
|
}
|
|
|
|
|
+ if !supportsIPv6 {
|
|
|
|
|
+ t.Skip("ipv6 is not supported")
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
l, err := net.ListenPacket("udp6", "[::1]:0")
|
|
l, err := net.ListenPacket("udp6", "[::1]:0")
|
|
|
if err != nil {
|
|
if err != nil {
|