]> git.ipfire.org Git - thirdparty/openvpn.git/commit
fix ipv6 compilation under macosx >= 1070 - v3
authorJuanJo Ciarlante <jjo+ml@google.com>
Mon, 19 Sep 2011 14:07:14 +0000 (16:07 +0200)
committerDavid Sommerseth <davids@redhat.com>
Wed, 21 Sep 2011 13:19:41 +0000 (15:19 +0200)
commitc02a84051297d97ba5955b93cdf479393b1dc1f8
tree31a9c12dc12af2af1b1623ab060231571e09c2aa
parent79a5aa44ca30b0a9c5ba067f099bc1b97d8454e0
fix ipv6 compilation under macosx >= 1070 - v3

 - use __APPLE_USE_RFC_3542 for macosx build environment >= 1070
 - define SOL_IP from IPPROTO_IP if it's missing
   In Linux man 7 ip says:
   "Using SOL_IP socket options level isn't portable, BSD-based
   stacks use IPPROTO_IP level."

Signed-off-by: JuanJo Ciarlante <jjo+ml@google.com>
Tested-by: Eric F Crist <ecrist@secure-computing.net>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
socket.c
socket.h
syshead.h
tun.c