diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-22 23:11:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-22 23:11:00 +0000 |
commit | d1dd0241ad556dba88043eea94a35582a420221c (patch) | |
tree | 07ada8fa854c96ad0a17a76b3293bbd7934729d3 /usr | |
parent | 075b213831717d3ea719a7be1bf6485f6c493223 (diff) | |
download | pfsense-d1dd0241ad556dba88043eea94a35582a420221c.zip pfsense-d1dd0241ad556dba88043eea94a35582a420221c.tar.gz |
Do not attempt to display queue graphs if traffic shaping disabled
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_queues.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php index 17956e0..11fa1b2 100755 --- a/usr/local/www/status_queues.php +++ b/usr/local/www/status_queues.php @@ -63,6 +63,14 @@ foreach($pfctl_vsq_array as $pfctl) { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> <p class="pgtitle">Status: Traffic shaper: Queues</p> +<?php +if(!isset($config['shaper']['enable']) { + echo "Traffic shaping is currently disabled."; + include("fend.inc"); + exit; +} +?> + <form action="status_queues.php" method="post"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> |