diff options
author | Scott Dale <sdale@pfsense.org> | 2007-04-25 02:47:54 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2007-04-25 02:47:54 +0000 |
commit | 78ee2cf8c2b128dc4cea09b6ae0a6ee98d5e7826 (patch) | |
tree | 8a3f92c8807bd8293d55d535d67f86dafdb5bac1 /usr/local | |
parent | 5db160dd040eeb38729caaf2a3ce85467990d3c0 (diff) | |
download | pfsense-78ee2cf8c2b128dc4cea09b6ae0a6ee98d5e7826.zip pfsense-78ee2cf8c2b128dc4cea09b6ae0a6ee98d5e7826.tar.gz |
verify interface is enabled before drawing graph
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/index.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php index 52c9232..2aa551d 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -286,6 +286,7 @@ echo $jscriptstr; $ifinfo = get_interface_info($ifdescr); $ifnum = convert_friendly_interface_to_real_interface_name($ifname); + if ($ifinfo['status'] != "down"){ ?> <tr> <td colspan="2" class="listtopic">Current <?=$ifname;?> Traffic</td> @@ -311,7 +312,8 @@ echo $jscriptstr; <? } ?> </td> </tr><tr><td> </td></tr> - <? } ?> + <? } + }?> </tbody> </table><br> |