projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Treat virtual network device as tap if Mode = switch or hub.
[tinc]
/
src
/
bsd
/
device.c
diff --git
a/src/bsd/device.c
b/src/bsd/device.c
index
5bd253c
..
3e61431
100644
(file)
--- a/
src/bsd/device.c
+++ b/
src/bsd/device.c
@@
-78,7
+78,7
@@
bool setup_device(void) {
return false;
}
} else {
- if(strstr(device, "tap"))
+ if(strstr(device, "tap")
|| routing_mode != RMODE_ROUTER
)
device_type = DEVICE_TYPE_TAP;
}