diff options
author | Renato Botelho <renato@netgate.com> | 2017-01-04 19:14:57 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-04 19:14:57 -0200 |
commit | a1650bb758b68eb909e7efb5094ac455c7f03475 (patch) | |
tree | b2e22468d0a7f5ea205c8d2c0cad856afe3aae17 /src/usr/local/www/vpn_openvpn_client.php | |
parent | 21504a52fb0f5ad02dd374b171fdafb1cd68c709 (diff) | |
download | pfsense-a1650bb758b68eb909e7efb5094ac455c7f03475.zip pfsense-a1650bb758b68eb909e7efb5094ac455c7f03475.tar.gz |
Fix a probably copy/paste error
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_client.php')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_client.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index d3666bb..3ce2c95 100644 --- a/src/usr/local/www/vpn_openvpn_client.php +++ b/src/usr/local/www/vpn_openvpn_client.php @@ -149,7 +149,7 @@ if ($_GET['act'] == "edit") { if ($a_client[$id]['tls']) { $pconfig['tlsauth_enable'] = "yes"; $pconfig['tls'] = base64_decode($a_client[$id]['tls']); - $pconfig['tls_type'] = $a_server[$id]['tls_type']; + $pconfig['tls_type'] = $a_client[$id]['tls_type']; } } else { $pconfig['shared_key'] = base64_decode($a_client[$id]['shared_key']); @@ -881,7 +881,7 @@ if ($act=="new" || $act=="edit"): $act )); - if (isset($id) && $a_server[$id]) { + if (isset($id) && $a_client[$id]) { $section->addInput(new Form_Input( 'id', null, |