diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-26 13:37:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-26 13:37:51 +0000 |
commit | 6668d4e63788a938cdb631e6e0447a63e5372754 (patch) | |
tree | 744edaa769b8e6c19ef9906c637741caefb27ba6 | |
parent | 6a77c5974f137a0a0556e0c7c6f77d1c1b95866e (diff) | |
download | pfsense-6668d4e63788a938cdb631e6e0447a63e5372754.zip pfsense-6668d4e63788a938cdb631e6e0447a63e5372754.tar.gz |
MFC 13459
Only show enabled interfaces in the Interface drop down.
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index f5c09b5..60f7d5b 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -74,7 +74,9 @@ $ifdescrs = array('wan' => 'WAN', 'lan' => 'LAN'); $graphs = array('traffic' => 'Traffic', 'quality' => 'Quality', 'queues' => 'Queues', 'packets' => 'Packets', 'spamd' => 'Spamd'); for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { - $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; + if(isset($config['interfaces']['opt' . $j]['enable'])) { + $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; + } } ?> <form name="form1" action="status_rrd_graph.php" method="get" style="padding-bottom: 10px; margin-bottom: 14px; |