projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c6ba9
)
Fix Solaris DeviceType = tap in router Mode.
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 19 Apr 2017 08:26:18 +0000
(10:26 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 19 Apr 2017 08:26:18 +0000
(10:26 +0200)
src/solaris/device.c
patch
|
blob
|
history
diff --git
a/src/solaris/device.c
b/src/solaris/device.c
index 3ff2f547c6c23c5316c8dd95ceda5a7812732924..deb96c4597bdb9c10daaebb8a89bdcc7face75a9 100644
(file)
--- a/
src/solaris/device.c
+++ b/
src/solaris/device.c
@@
-87,6
+87,9
@@
static bool setup_device(void) {
else
device_info = "Solaris tap device";
+ if(device_type == DEVICE_TYPE_TAP && routing_mode == RMODE_ROUTER)
+ overwrite_mac = true;
+
/* The following is black magic copied from OpenVPN. */
if((ip_fd = open(IP_DEVICE, O_RDWR, 0)) < 0) {