Use TUNIFHEAD by default on FreeBSD to make sure IPv6 works.
This commit is contained in:
parent
a269ec4193
commit
c6830ba821
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ char *iface;
|
||||||
char *device_info;
|
char *device_info;
|
||||||
static int device_total_in = 0;
|
static int device_total_in = 0;
|
||||||
static int device_total_out = 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;
|
static device_type_t device_type = DEVICE_TYPE_TUNIFHEAD;
|
||||||
#else
|
#else
|
||||||
static device_type_t device_type = DEVICE_TYPE_TUN;
|
static device_type_t device_type = DEVICE_TYPE_TUN;
|
||||||
|
|
Loading…
Reference in a new issue