From 6b5cfe97f4d3f93bde5c3eac5cb82b20b160ae36 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 19 Apr 2017 10:26:18 +0200 Subject: [PATCH 1/1] Fix Solaris DeviceType = tap in router Mode. --- src/solaris/device.c | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.20.1