projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979e327
)
Every BSD flavor has a tap device nowadays.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 9 Apr 2016 16:30:48 +0000
(18:30 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 9 Apr 2016 16:30:48 +0000
(18:30 +0200)
src/bsd/device.c
patch
|
blob
|
history
diff --git
a/src/bsd/device.c
b/src/bsd/device.c
index
183f57c
..
b58db8a
100644
(file)
--- a/
src/bsd/device.c
+++ b/
src/bsd/device.c
@@
-34,11
+34,7
@@
#endif
#define DEFAULT_TUN_DEVICE "/dev/tun0"
-#if defined(HAVE_FREEBSD) || defined(HAVE_NETBSD) || defined(HAVE_DARWIN)
#define DEFAULT_TAP_DEVICE "/dev/tap0"
-#else
-#define DEFAULT_TAP_DEVICE "/dev/tun0"
-#endif
typedef enum device_type {
DEVICE_TYPE_TUN,