summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-18 19:27:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-18 19:27:44 +0000
commit42a58cb914e02d4f1fccdd348a030f30c77a040d (patch)
treee749a33356387838aa179492537486bdf4b6b6ba /usr
parent90ebf755a2d7927d03bebc6b115ed518f75ed852 (diff)
downloadpfsense-42a58cb914e02d4f1fccdd348a030f30c77a040d.zip
pfsense-42a58cb914e02d4f1fccdd348a030f30c77a040d.tar.gz
Spell unset() correctly
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 1247e08..3b061b4 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -255,7 +255,7 @@ if ($_POST) {
if($_POST['blockpriv'] == "yes")
$wancfg['blockpriv'] = true;
else
- usnet($wancfg['blockpriv']);
+ unset($wancfg['blockpriv']);
if($_POST['blockbogons'] == "yes")
$wancfg['blockbogons'] = true;
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 1247e08..3b061b4 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -255,7 +255,7 @@ if ($_POST) {
if($_POST['blockpriv'] == "yes")
$wancfg['blockpriv'] = true;
else
- usnet($wancfg['blockpriv']);
+ unset($wancfg['blockpriv']);
if($_POST['blockbogons'] == "yes")
$wancfg['blockbogons'] = true;
OpenPOWER on IntegriCloud