Fix IPv6 on FreeBSD.
authorDavid Reiss <dreiss@apache.org>
Tue, 10 Jun 2008 22:56:04 +0000 (22:56 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 10 Jun 2008 22:56:04 +0000 (22:56 +0000)
commit13aea4600c7e170a0f178d72d7d68d3bddd7ef9a
tree241b7993b4aa3d9009be6405952d1e30cd98de77
parentd14f4f86d4a521dd2327789f9230ab239b1c342b
Fix IPv6 on FreeBSD.

On FreeBSD (and possibly other BSDs), binding to ipv6 is restricted unless the
sysctl net.inet6.ip6.v6only=0 or the socket option IPV6_V6ONLY is turned off.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666367 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/server/TNonblockingServer.cpp
lib/cpp/src/transport/TServerSocket.cpp