From: Guus Sliepen Date: Mon, 22 Dec 2008 19:33:37 +0000 (+0000) Subject: Use TUNIFHEAD by default on FreeBSD to make sure IPv6 works. X-Git-Tag: import-tinc-1.1~596^2~28 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=c6830ba821e6387be961ca68b32992382a74a0e9;p=meshlink Use TUNIFHEAD by default on FreeBSD to make sure IPv6 works. --- diff --git a/src/bsd/device.c b/src/bsd/device.c index 3e61431d..ee1c988e 100644 --- a/src/bsd/device.c +++ b/src/bsd/device.c @@ -42,7 +42,7 @@ char *iface; char *device_info; static int device_total_in = 0; static int device_total_out = 0; -#ifdef HAVE_OPENBSD +#if defined(HAVE_OPENBSD) || defined(HAVE_FREEBSD) static device_type_t device_type = DEVICE_TYPE_TUNIFHEAD; #else static device_type_t device_type = DEVICE_TYPE_TUN;