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 183f57c..b58db8a 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,