]> Cypherpunks repositories - gostls13.git/commit
net: fix cgoAddrInfoFlags() on FreeBSD
authorShenghou Ma <minux.ma@gmail.com>
Wed, 6 Jun 2012 14:03:31 +0000 (22:03 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 6 Jun 2012 14:03:31 +0000 (22:03 +0800)
commit58993e514ec8ee306b305df7db761f73ae522d3a
tree629666f2e64fa9955c14e7bf17848377758d0658
parent81368d9bb9cc503df33d470785edc816a9086cd3
net: fix cgoAddrInfoFlags() on FreeBSD
        CL 6250075 removed AI_MASK mask on all BSD variants,
        however FreeBSD's AI_MASK does not include AI_V4MAPPED
        and AI_ALL, and its libc is strict about the ai_flags.

        This will fix the FreeBSD builder.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6305054
src/pkg/net/cgo_bsd.go