summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/ipv6/bpf_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/ipv6/bpf_test.go')
-rw-r--r--vendor/golang.org/x/net/ipv6/bpf_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/ipv6/bpf_test.go b/vendor/golang.org/x/net/ipv6/bpf_test.go
index 03d478dc0..8253e1f42 100644
--- a/vendor/golang.org/x/net/ipv6/bpf_test.go
+++ b/vendor/golang.org/x/net/ipv6/bpf_test.go
@@ -18,6 +18,9 @@ func TestBPF(t *testing.T) {
if runtime.GOOS != "linux" {
t.Skipf("not supported on %s", runtime.GOOS)
}
+ if !supportsIPv6 {
+ t.Skip("ipv6 is not supported")
+ }
l, err := net.ListenPacket("udp6", "[::1]:0")
if err != nil {