summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-12 03:38:06 +0000
committerBill Marquette <billm@pfsense.org>2005-03-12 03:38:06 +0000
commite95c754fbc2a3eec0fd2c1bc5e3d357cecdaa8d4 (patch)
tree7760a21ae6853f65ec73cfb666e94b52cc47ddbe /usr/local
parentb7f01f59c138230355e0ee8886f7dc4775e44dc8 (diff)
downloadpfsense-e95c754fbc2a3eec0fd2c1bc5e3d357cecdaa8d4.zip
pfsense-e95c754fbc2a3eec0fd2c1bc5e3d357cecdaa8d4.tar.gz
more variable cleanup
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces_lan.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 8390c3a..b43e575 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -32,11 +32,11 @@
require("guiconfig.inc");
$lancfg = &$config['interfaces']['lan'];
-$pconfig['ipaddr'] = $config['interfaces']['lan']['ipaddr'];
-$pconfig['subnet'] = $config['interfaces']['lan']['subnet'];
+$pconfig['ipaddr'] = $lancfg['ipaddr'];
+$pconfig['subnet'] = $lancfg['subnet'];
-$pconfig['bandwidth'] = $config['interfaces']['lan']['bandwidth'];
-$pconfig['bandwidthtype'] = $config['interfaces']['lan']['bandwidthtype'];
+$pconfig['bandwidth'] = $lancfg['bandwidth'];
+$pconfig['bandwidthtype'] = $lancfg['bandwidthtype'];
/* Wireless interface? */
if (isset($lancfg['wireless'])) {
@@ -71,10 +71,10 @@ if ($_POST) {
}
if (!$input_errors) {
- $config['interfaces']['lan']['ipaddr'] = $_POST['ipaddr'];
- $config['interfaces']['lan']['subnet'] = $_POST['subnet'];
- $config['interfaces']['lan']['bandwidth'] = $_POST['bandwidth'];
- $config['interfaces']['lan']['bandwidthtype'] = $_POST['bandwidthtype'];
+ $lancfg['ipaddr'] = $_POST['ipaddr'];
+ $lancfg['subnet'] = $_POST['subnet'];
+ $lancfg['bandwidth'] = $_POST['bandwidth'];
+ $lancfg['bandwidthtype'] = $_POST['bandwidthtype'];
$dhcpd_was_enabled = 0;
if (isset($config['dhcpd']['enable'])) {
OpenPOWER on IntegriCloud