summaryrefslogtreecommitdiffstats
path: root/src/vendor/golang.org/x/net/nettest/nettest_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendor/golang.org/x/net/nettest/nettest_stub.go')
-rw-r--r--src/vendor/golang.org/x/net/nettest/nettest_stub.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vendor/golang.org/x/net/nettest/nettest_stub.go b/src/vendor/golang.org/x/net/nettest/nettest_stub.go
new file mode 100644
index 0000000..6e3a931
--- /dev/null
+++ b/src/vendor/golang.org/x/net/nettest/nettest_stub.go
@@ -0,0 +1,12 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos
+// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos
+
+package nettest
+
+func supportsRawSocket() bool {
+ return false
+}