diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-17 20:43:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-17 20:43:53 +0000 |
commit | 90a0e1f5d0aa224f1219d35a4a67bbe8a8cc9f9c (patch) | |
tree | b1f257923a57001a2bab965a22cd8d505154c012 | |
parent | 18ae7b3c85c7b2d20265b43817ffd80d64f68c17 (diff) | |
download | pfsense-90a0e1f5d0aa224f1219d35a4a67bbe8a8cc9f9c.zip pfsense-90a0e1f5d0aa224f1219d35a4a67bbe8a8cc9f9c.tar.gz |
Ticket #1648 fixes
-rwxr-xr-x | usr/local/www/status_graph.php | 5 |
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"; |