summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@netgate.com>2019-05-13 08:33:45 -0400
committerjim-p <jimp@netgate.com>2019-05-13 11:02:18 -0400
commit0dd99de71d45ba3a5dcfe6d63c12b7a3b235743c (patch)
tree5dd9dca1106328016ceba727d14256069a13f7bc
parent7ccb452496e7463d508fa32c7450e381f09b468e (diff)
downloadpfsense-0dd99de71d45ba3a5dcfe6d63c12b7a3b235743c.zip
pfsense-0dd99de71d45ba3a5dcfe6d63c12b7a3b235743c.tar.gz
Remove Advanced box from OpenVPN Wizard. Issue #9511
(cherry picked from commit b8ca6554d022e99921835a2fdb35103f41a7302e)
-rw-r--r--src/usr/local/www/wizards/openvpn_wizard.inc1
-rw-r--r--src/usr/local/www/wizards/openvpn_wizard.xml8
2 files changed, 0 insertions, 9 deletions
diff --git a/src/usr/local/www/wizards/openvpn_wizard.inc b/src/usr/local/www/wizards/openvpn_wizard.inc
index ceb15ad..51acedd 100644
--- a/src/usr/local/www/wizards/openvpn_wizard.inc
+++ b/src/usr/local/www/wizards/openvpn_wizard.inc
@@ -595,7 +595,6 @@ function step12_submitphpaction() {
if (strlen($pconfig['step10']['descr']) > 30)
$pconfig['step10']['descr'] = substr($pconfig['step10']['descr'], 0, 30);
$server['description'] = $pconfig['step10']['descr'];
- $server['custom_options'] = $pconfig['step10']['advanced'];
if (isset($pconfig['step10']['tlsauth'])) {
if (isset($pconfig['step10']['gentlskey']))
$tlskey = openvpn_create_key();
diff --git a/src/usr/local/www/wizards/openvpn_wizard.xml b/src/usr/local/www/wizards/openvpn_wizard.xml
index 895ec32..0b0147e 100644
--- a/src/usr/local/www/wizards/openvpn_wizard.xml
+++ b/src/usr/local/www/wizards/openvpn_wizard.xml
@@ -1053,14 +1053,6 @@
<description>A Windows Internet Name Service (WINS) server IP to provide to connecting clients. Not desirable in most all modern networks.</description>
</field>
<field>
- <name>Advanced</name>
- <type>textarea</type>
- <cols>30</cols>
- <rows>5</rows>
- <description>Enter any additional options to add to the OpenVPN server configuration here, separated by a semicolon. EXAMPLE: push "route 10.0.0.0 255.255.255.0"</description>
- <bindstofield>ovpnserver->step10->advanced</bindstofield>
- </field>
- <field>
<name>Next</name>
<type>submit</type>
</field>
OpenPOWER on IntegriCloud