summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-21 21:15:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-21 21:15:44 +0000
commit872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1 (patch)
treed025c196e42a4e880a9621342068f1c040c567b6 /usr
parent25a6411a2d63c204f39bb1b1267ff3b5573eeebf (diff)
downloadpfsense-872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1.zip
pfsense-872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1.tar.gz
wancfg is 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 455ec4e..2cd152e 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -85,7 +85,7 @@ $a_gateways = &$config['gateways']['gateway_item'];
$wancfg = &$config['interfaces'][$if];
-$pconfig['pppoe_username'] = $wancfg['pppoe_username'];
+$pconfig['_username'] = $wancfg['pppoe_username'];
$pconfig['pppoe_password'] = $wancfg['pppoe_password'];
$pconfig['provider'] = $wancfg['provider'];
$pconfig['pppoe_dialondemand'] = isset($wancfg['ondemand']);
@@ -497,7 +497,7 @@ if ($_POST) {
}
} // end if($_POST)
-function handle_pppoe_reset($wancfg) {
+function handle_pppoe_reset() {
global $_POST, $config, $g, $wancfg;
/* perform a periodic reset? */
if(!isset($_POST['pppoe_preset'])) {
OpenPOWER on IntegriCloud