From: Guus Sliepen Date: Wed, 19 Apr 2017 08:26:18 +0000 (+0200) Subject: Fix Solaris DeviceType = tap in router Mode. X-Git-Tag: release-1.0.32~8 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=6b5cfe97f4d3f93bde5c3eac5cb82b20b160ae36;p=tinc Fix Solaris DeviceType = tap in router Mode. --- diff --git a/src/solaris/device.c b/src/solaris/device.c index 3ff2f547..deb96c45 100644 --- 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) {