projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a269ec4
)
Use TUNIFHEAD by default on FreeBSD to make sure IPv6 works.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 22 Dec 2008 19:33:37 +0000
(19:33 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 22 Dec 2008 19:33:37 +0000
(19:33 +0000)
src/bsd/device.c
patch
|
blob
|
history
diff --git
a/src/bsd/device.c
b/src/bsd/device.c
index
3e61431
..
ee1c988
100644
(file)
--- 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;
-#if
def 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;