summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_openvpn_server.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-30 19:35:08 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-30 19:35:08 -0400
commita9a613dd871bf2eda2d878c92ed55114a6ea1e6c (patch)
tree181ad136796ce8a26cd10f23aa473f5f3a8ac23e /usr/local/www/vpn_openvpn_server.php
parent2f4f30ee6905515d713fd43ff17fa95bcf2c567f (diff)
downloadpfsense-a9a613dd871bf2eda2d878c92ed55114a6ea1e6c.zip
pfsense-a9a613dd871bf2eda2d878c92ed55114a6ea1e6c.tar.gz
Rename to custom_options to match the original setting name
Diffstat (limited to 'usr/local/www/vpn_openvpn_server.php')
-rw-r--r--usr/local/www/vpn_openvpn_server.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php
index d2a7977..55d5453 100644
--- a/usr/local/www/vpn_openvpn_server.php
+++ b/usr/local/www/vpn_openvpn_server.php
@@ -85,7 +85,7 @@ if($_GET['act']=="edit"){
$pconfig['interface'] = $a_server[$id]['interface'];
$pconfig['local_port'] = $a_server[$id]['local_port'];
$pconfig['description'] = $a_server[$id]['description'];
- $pconfig['ovpnadvanced'] = $a_server[$id]['ovpnadvanced'];
+ $pconfig['custom_options'] = $a_server[$id]['custom_options'];
if ($pconfig['mode'] != "p2p_shared_key") {
if ($a_server[$id]['tls']) {
@@ -260,7 +260,7 @@ if ($_POST) {
$server['interface'] = $pconfig['interface'];
$server['local_port'] = $pconfig['local_port'];
$server['description'] = $pconfig['description'];
- $server['ovpnadvanced'] = $pconfig['ovpnadvanced'];
+ $server['custom_options'] = $pconfig['custom_options'];
if ($tls_mode) {
if ($pconfig['tlsauth_enable']) {
@@ -1095,7 +1095,7 @@ function netbios_change() {
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
- <textarea rows="6" cols="78" name="ovpnadvanced" id="ovpnadvanced"><?=$pconfig['ovpnadvanced'];?></textarea><br/>
+ <textarea rows="6" cols="78" name="custom_options" id="custom_options"><?=$pconfig['custom_options'];?></textarea><br/>
Paste any additional options you would like to pass through to the openvpn server here.
</td>
</tr>
OpenPOWER on IntegriCloud