From 6ec1700c82079142407a58f72559c2057a15fa96 Mon Sep 17 00:00:00 2001 From: Bailetti Tommaso Date: Tue, 10 Sep 2024 17:43:43 +0200 Subject: [PATCH] fix(openvpn): solved wrong mode when editing client tunnel (#357) --- .../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) }