mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove Advanced box from OpenVPN Wizard. Issue #9511
This commit is contained in:
parent
18c1de4133
commit
b8ca6554d0
@ -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();
|
||||
|
||||
@ -1052,14 +1052,6 @@
|
||||
<bindstofield>ovpnserver->step10->wins2</bindstofield>
|
||||
<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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user