tsocket/bsd: set IPV6_V6ONLY on AF_INET6 sockets
commit1ffcb991a900b78c9175f6b093839fe96b1bd7d9
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Feb 2010 08:33:18 +0000 (17 09:33 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 17 Feb 2010 13:46:39 +0000 (17 14:46 +0100)
tree3de346c2243b577c4944c9ab115911c530f7a54f
parent8a0949dfc8d2ecf577dfc5ef38496421101b734e
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
lib/tsocket/tsocket_bsd.c