Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324
  1. // Copyright 2016 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 darwin dragonfly freebsd netbsd openbsd
  5. package nettest
  6. import (
  7. "runtime"
  8. )
  9. func supportsIPv6MulticastDeliveryOnLoopback() bool {
  10. switch runtime.GOOS {
  11. case "freebsd":
  12. // See http://www.freebsd.org/cgi/query-pr.cgi?pr=180065.
  13. // Even after the fix, it looks like the latest
  14. // kernels don't deliver link-local scoped multicast
  15. // packets correctly.
  16. return false
  17. default:
  18. return true
  19. }
  20. }