From be4acfd167788719d16b795d5491646fd88bd23f Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 28 Feb 2017 15:29:45 -0500 Subject: Fix up some options in OpenVPN that were not showing for the correct modes. Fixes #7331 --- src/usr/local/www/vpn_openvpn_client.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/vpn_openvpn_client.php') 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; } -- cgit v1.1