socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest is ipv4
authorStefan Metzmacher <metze@samba.org>
Sun, 8 Mar 2009 16:20:18 +0000 (17:20 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 8 Mar 2009 16:22:26 +0000 (17:22 +0100)
commit3679e8243459f928b1a4d0998d47c6efdedd0301
tree630f34689b79862ef27e942680d684f8db8065a5
parentf9156f6c77d9e87edc153b024a1d564b44eedd8f
socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest is ipv4

We only do this if the socket isn't explicit bound yet.

metze
lib/socket_wrapper/socket_wrapper.c