diff options
author | Gert Doering | 2011-09-16 19:51:09 +0200 |
---|---|---|
committer | David Sommerseth | 2011-09-21 15:21:25 +0200 |
commit | 8ca19c014c149cf69257798afa6c75d1ff8f11a7 (patch) | |
tree | 6836b292510e3a96c48773e92a93c72079e41579 /syshead.h | |
parent | c02a84051297d97ba5955b93cdf479393b1dc1f8 (diff) | |
download | openvpn-8ca19c014c149cf69257798afa6c75d1ff8f11a7.zip openvpn-8ca19c014c149cf69257798afa6c75d1ff8f11a7.tar.gz |
Platform cleanup for NetBSD
make TAP devices work (need to go via multiplex device /dev/tap)
cleanup TUN devices at program end ("ifconfig tunX destroy")
correctly setup TUN devices for "topology subnet"
don't try to put TAP devices into TUNSIFHEAD mode (get rid of error message)
Tested on NetBSD 5.1_STABLE / Sparc64
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'syshead.h')
-rw-r--r-- | syshead.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -213,6 +213,10 @@ #include <net/if.h> #endif +#ifdef TARGET_NETBSD +#include <net/if_tap.h> +#endif + #ifdef TARGET_LINUX #if defined(HAVE_NETINET_IF_ETHER_H) |