sock: set IPV6_V6ONLY on the socket before binding an IPv6 address
authorMichael Adam <obnox@samba.org>
Fri, 8 Nov 2013 14:31:11 +0000 (15:31 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 9 Nov 2013 12:34:33 +0000 (13:34 +0100)
commit0698e4d18006df53e5ca76a722e7d38bf9a227bf
tree7cb267bce1c31b6c4f8ade0bcaccddeef268b789
parentd7f67768ebb6a9b3fe19effc8c89de5fa832d946
sock: set IPV6_V6ONLY on the socket before binding an IPv6 address

so that we can bind wildcard for both IPv4 and IPv6.

Signed-off-by: Michael Adam <obnox@samba.org>
src/sock.c