summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-21 21:17:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-21 21:17:57 +0000
commit275b29ebbcfe21262f76f443522078534eba88ef (patch)
tree6cde13aa49e782cced1f6260171ff28aac8abe6a /usr
parent872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1 (diff)
downloadpfsense-275b29ebbcfe21262f76f443522078534eba88ef.zip
pfsense-275b29ebbcfe21262f76f443522078534eba88ef.tar.gz
Make $if a global
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 2cd152e..04d88ca 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -498,7 +498,7 @@ if ($_POST) {
} // end if($_POST)
function handle_pppoe_reset() {
- global $_POST, $config, $g, $wancfg;
+ global $_POST, $config, $g, $wancfg, $if;
/* perform a periodic reset? */
if(!isset($_POST['pppoe_preset'])) {
setup_pppoe_reset_file($if, false);
@@ -586,7 +586,7 @@ function handle_pppoe_reset() {
}
function handle_wireless_post() {
- global $_POST, $config, $g, $wancfg;
+ global $_POST, $config, $g, $wancfg, $if;
if (!is_array($wancfg['wireless']))
$wancfg['wireless'] = array();
$wancfg['wireless']['standard'] = $_POST['standard'];
OpenPOWER on IntegriCloud