From 0a7168930cf63fc57a2a933f80c79cc3ba0f9540 Mon Sep 17 00:00:00 2001 From: Tommaso Bailetti Date: Tue, 10 Sep 2024 17:18:42 +0200 Subject: [PATCH] fix(openvpn): solved wrong mode when editing client tunnel --- .../standalone/openvpn_tunnel/CreateOrEditTunnelDrawer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/standalone/openvpn_tunnel/CreateOrEditTunnelDrawer.vue b/src/components/standalone/openvpn_tunnel/CreateOrEditTunnelDrawer.vue index bd5c4a537..da9dd8b2f 100644 --- a/src/components/standalone/openvpn_tunnel/CreateOrEditTunnelDrawer.vue +++ b/src/components/standalone/openvpn_tunnel/CreateOrEditTunnelDrawer.vue @@ -539,7 +539,7 @@ async function createOrEditTunnel() { : {}) } : {}), - dev_type: mode.value == 'bridged' ? 'tun' : 'tap', + dev_type: mode.value == 'bridged' ? 'tap' : 'tun', remote: remoteHosts.value, route: remoteNetworks.value.filter(Boolean) }