Remove the test for linux/if_tun.h.

It has been available for years on any decent Linux distribution.
Although linux/if_tun.h is now required to compile tinc,
you can still run it on systems which only support Ethertap.
This commit is contained in:
Guus Sliepen 2006-12-16 16:40:09 +00:00
parent b55813dc0b
commit 0322c0883b
3 changed files with 0 additions and 58 deletions

View file

@ -22,16 +22,8 @@
#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"