Skip to content

Commit

Permalink
fix(openvpn): fixed default mode in tunnel creation (#359)
Browse files Browse the repository at this point in the history
Also swapped order of mode selection
  • Loading branch information
Tbaile authored Sep 12, 2024
1 parent 90c3692 commit e63c8e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ const compressionOptions = [
]

const modeOptions = [
{
id: 'bridged',
label: t('standalone.openvpn_rw.bridged')
},
{
id: 'routed',
label: t('standalone.openvpn_rw.routed')
},
{
id: 'bridged',
label: t('standalone.openvpn_rw.bridged')
}
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ const authenticationOptions = [
]

const modeOptions = [
{
id: 'bridged',
label: t('standalone.openvpn_tunnel.bridged')
},
{
id: 'routed',
label: t('standalone.openvpn_tunnel.routed')
},
{
id: 'bridged',
label: t('standalone.openvpn_tunnel.bridged')
}
]

Expand Down Expand Up @@ -329,7 +329,7 @@ async function resetForm() {
username.value = ''
password.value = ''
certificate.value = ''
mode.value = 'bridged'
mode.value = 'routed'
}

try {
Expand Down

0 comments on commit e63c8e5

Please sign in to comment.