Restored the code in the IPV6_V6ONLY section that checks the
authorWayne Davison <wayned@samba.org>
Sun, 20 Jun 2004 19:51:19 +0000 (19:51 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 20 Jun 2004 19:51:19 +0000 (19:51 +0000)
commitdcd08dc51cb77e9ab796d1bdb5739436c90a6ad4
tree0e73eda7cbb44703f3b59a9c76a5b931a4186228
parentfdf57ede8c1cd60ee07f6f8eab5fbfac1224a431
Restored the code in the IPV6_V6ONLY section that checks the
return value from setsockopt() with one improvement:  if the
user has used --ipv6 (-6) we don't discard the IPv6 socket.
This should help people using older Linux kernels that don't
implement IPv6 support quite right.
socket.c