diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-21 21:15:44 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-21 21:15:44 +0000 |
commit | 872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1 (patch) | |
tree | d025c196e42a4e880a9621342068f1c040c567b6 /usr/local/www/interfaces.php | |
parent | 25a6411a2d63c204f39bb1b1267ff3b5573eeebf (diff) | |
download | pfsense-872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1.zip pfsense-872f6a0c9ca1b5c08eff1e74ae7ecbe5a65b85f1.tar.gz |
wancfg is a global
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-x | usr/local/www/interfaces.php | 4 |
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'])) { |