helper_stub_test.go 505 B

1234567891011121314151617181920
  1. // Copyright 2014 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
  5. package ipv6_test
  6. import (
  7. "fmt"
  8. "runtime"
  9. )
  10. func supportsIPv6MulticastDeliveryOnLoopback() (string, bool) {
  11. return fmt.Sprintf("not supported on %s/%s", runtime.GOOS, runtime.GOARCH), false
  12. }
  13. func protocolNotSupported(err error) bool {
  14. return false
  15. }