tsocket/bsd: set IPV6_V6ONLY on AF_INET6 sockets
commitd1dfa2e92fea3dc54771c4b1a6e3c06ee478b54f
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Feb 2010 08:33:18 +0000 (17 09:33 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Feb 2010 11:57:23 +0000 (18 12:57 +0100)
treed2d858c519fed8689f0cc525c952c0cabd6172bd
parentb4a5c3325a272c97658aaede1f1c659260524789
tsocket/bsd: set IPV6_V6ONLY on AF_INET6 sockets

Some system already have this as default. It's easier
to behave the same way on all systems and handle ipv6
and ipv4 sockets separate.

metze
(cherry picked from commit 1ffcb991a900b78c9175f6b093839fe96b1bd7d9)
lib/tsocket/tsocket_bsd.c