summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorCharlie <root@pfSense.local>2011-05-05 19:46:18 +0000
committerCharlie <root@pfSense.local>2011-05-05 19:46:18 +0000
commit0d8562ed34b692df8ebae59f7360a0d6c668dba3 (patch)
treeb82f719087f5eb44b71e70c12cf3f16527c832ed /usr/local/www/interfaces.php
parent7149c4e73793c0da58b9ce0efa9671deb15a240f (diff)
downloadpfsense-0d8562ed34b692df8ebae59f7360a0d6c668dba3.zip
pfsense-0d8562ed34b692df8ebae59f7360a0d6c668dba3.tar.gz
Fix the parse error, missing bracket.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index e3415ed..1fa390f 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -687,7 +687,7 @@ if ($_POST['apply']) {
$wancfg['alias-subnet'] = $_POST['alias-subnet'];
$wancfg['duid'] = $_POST['duid'];
$wancfg['dhcp-ia-pd-len'] = $_POST['dhcp-ia-pd-len'];
- unset($wancfg['pd-sla-id');
+ unset($wancfg['pd-sla-id']);
$wancfg['dhcp_plus'] = $_POST['dhcp_plus'] == "yes" ? true : false;
if($gateway_item) {
$a_gateways[] = $gateway_item;
@@ -700,7 +700,7 @@ if ($_POST['apply']) {
$wancfg['alias-subnet'] = $_POST['alias-subnet'];
$wancfg['duid'] = $_POST['duid'];
$wancfg['dhcp-ia-pd-len'] = $_POST['dhcp-ia-pd-len'];
- unset($wancfg['pd-sla-id');
+ unset($wancfg['pd-sla-id']);
if($gateway_item) {
$a_gateways[] = $gateway_item;
}
@@ -716,7 +716,7 @@ if ($_POST['apply']) {
$a_ppps[$pppid]['apn'] = $_POST['apn'];
$wancfg['if'] = $_POST['type'] . $_POST['ptpid'];
$wancfg['ipaddr'] = $_POST['type'];
- unset($wancfg['pd-sla-id');
+ unset($wancfg['pd-sla-id']);
unset($a_ppps[$pppid]['ondemand']);
unset($a_ppps[$pppid]['idletimeout']);
break;
@@ -747,7 +747,7 @@ if ($_POST['apply']) {
unset($a_ppps[$pppid]['pppoe-reset-type']);
$wancfg['if'] = $_POST['type'].$_POST['ptpid'];
$wancfg['ipaddr'] = $_POST['type'];
- unset($wancfg['pd-sla-id');
+ unset($wancfg['pd-sla-id']);
if($gateway_item) {
$a_gateways[] = $gateway_item;
}
@@ -774,7 +774,7 @@ if ($_POST['apply']) {
unset($a_ppps[$pppid]['idletimeout']);
$wancfg['if'] = $_POST['type'].$_POST['ptpid'];
$wancfg['ipaddr'] = $_POST['type'];
- unset($wancfg['pd-sla-id');
+ unset($wancfg['pd-sla-id']);
if($gateway_item) {
$a_gateways[] = $gateway_item;
}
OpenPOWER on IntegriCloud