summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-17 20:43:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-17 20:43:53 +0000
commit90a0e1f5d0aa224f1219d35a4a67bbe8a8cc9f9c (patch)
treeb1f257923a57001a2bab965a22cd8d505154c012
parent18ae7b3c85c7b2d20265b43817ffd80d64f68c17 (diff)
downloadpfsense-90a0e1f5d0aa224f1219d35a4a67bbe8a8cc9f9c.zip
pfsense-90a0e1f5d0aa224f1219d35a4a67bbe8a8cc9f9c.tar.gz
Ticket #1648 fixes
-rwxr-xr-xusr/local/www/status_graph.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index f0af458..2f3bf7f 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -65,8 +65,9 @@ include("head.inc");
<?php
$ifdescrs = array('wan' => 'WAN', 'lan' => 'LAN');
-for ($j = 1; isset($config['interfaces']['opt' . $j]['enable']); $j++) {
- $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr'];
+for($j = 1; isset($config['interfaces']['opt' . $j]); $j++) {
+ if(isset($config['interfaces']['opt' . $j]['enable']))
+ $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr'];
}
if((isset($config['ipsec']['enable'])) || (isset($config['ipsec']['mobileclients']['enable']))) {
$ifdescrs['ipsec'] = "IPsec";
OpenPOWER on IntegriCloud