Stop using SOL_TCP, SOL_IP and SOL_IPV6.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Apr 2016 14:56:56 +0000 (16:56 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 15 Apr 2016 14:56:56 +0000 (16:56 +0200)
commita31e1f03c4eff16403178695d971a0838996ba2e
treebaae6bf1285f58716d5d0df858d0edee06da7b66
parenta0a8f8f81fc8da068e93088c7c13f689a96fac66
Stop using SOL_TCP, SOL_IP and SOL_IPV6.

Instead, use IPPROTO_TCP, _IP and _IPv6. This fixes an issue on OS X where
it didn't create an UDP socket that listened on IPv4.
src/net_packet.c
src/net_setup.c
src/net_socket.c