summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_openvpn_client.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-02-28 15:29:45 -0500
committerjim-p <jimp@pfsense.org>2017-02-28 15:29:45 -0500
commitbe4acfd167788719d16b795d5491646fd88bd23f (patch)
tree043ff7a9e256b04a4d87a6ad02876f5afefeeb9f /src/usr/local/www/vpn_openvpn_client.php
parent2c98383fd1618be8412d3810f8cd0c872a837a24 (diff)
downloadpfsense-be4acfd167788719d16b795d5491646fd88bd23f.zip
pfsense-be4acfd167788719d16b795d5491646fd88bd23f.tar.gz
Fix up some options in OpenVPN that were not showing for the correct modes. Fixes #7331
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_client.php')
-rw-r--r--src/usr/local/www/vpn_openvpn_client.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php
index e1ba72f..cde6e74 100644
--- a/src/usr/local/www/vpn_openvpn_client.php
+++ b/src/usr/local/www/vpn_openvpn_client.php
@@ -960,8 +960,10 @@ events.push(function() {
hideClass('authentication', false);
hideCheckbox('autokey_enable', true);
hideInput('shared_key', true);
- hideLabel('Peer Certificate Revocation list', true);
+ hideLabel('Peer Certificate Revocation list', false);
+ hideInput('crlref', false);
hideInput('topology', false);
+ hideCheckbox('route_no_pull', false);
break;
case "p2p_shared_key":
hideCheckbox('tlsauth_enable', true);
@@ -970,8 +972,10 @@ events.push(function() {
hideClass('authentication', true);
hideCheckbox('autokey_enable', false);
hideInput('shared_key', false);
- hideLabel('Peer Certificate Revocation list', false);
+ hideLabel('Peer Certificate Revocation list', true);
+ hideInput('crlref', true);
hideInput('topology', true);
+ hideCheckbox('route_no_pull', true);
break;
}
OpenPOWER on IntegriCloud