Remove the test for linux/if_tun.h.
[oweals/tinc.git] / src / linux / device.c
index c320e510877d370ef2c9b4074a7c7962fa6d0f08..3af8df09dc483c4cce869c9db0755d4d0555e639 100644 (file)
 
 #include "system.h"
 
-#ifdef HAVE_TUNTAP
-#ifdef LINUX_IF_TUN_H
-#include LINUX_IF_TUN_H
-#else
 #include <linux/if_tun.h>
-#endif
 #define DEFAULT_DEVICE "/dev/net/tun"
-#else
-#define DEFAULT_DEVICE "/dev/tap0"
-#endif
 
 #include "conf.h"
 #include "logger.h"