From: Guus Sliepen Date: Sat, 16 Dec 2017 21:44:57 +0000 (+0100) Subject: Don't use SOL_IP and SOL_IPV6. X-Git-Tag: release-1.0.34~8 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=96e33d749cd61dd5f103ffef2e5e833f30185787;hp=96e33d749cd61dd5f103ffef2e5e833f30185787 Don't use SOL_IP and SOL_IPV6. These macros do not exist on all platforms, instead one should use IPPROTO_IP and IPPROTO_IPV6. This fixes a bug on macOS where the IPV6_V6ONLY flag would not be applied and could result in IPv4 sockets not working. ---