Every BSD flavor has a tap device nowadays.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 9 Apr 2016 16:30:48 +0000 (18:30 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 9 Apr 2016 16:30:48 +0000 (18:30 +0200)
src/bsd/device.c

index 183f57cafed24bddf3a0d6136946417e42a5540f..b58db8aed6fc9358246e0bbbb7eff49a6155faf6 100644 (file)
 #endif
 
 #define DEFAULT_TUN_DEVICE "/dev/tun0"
-#if defined(HAVE_FREEBSD) || defined(HAVE_NETBSD) || defined(HAVE_DARWIN)
 #define DEFAULT_TAP_DEVICE "/dev/tap0"
-#else
-#define DEFAULT_TAP_DEVICE "/dev/tun0"
-#endif
 
 typedef enum device_type {
        DEVICE_TYPE_TUN,