summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_shaper_queues.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-22 10:19:17 -0500
committerjim-p <jimp@pfsense.org>2016-12-22 10:20:29 -0500
commitaa64bb6565db2f788846eee9a62bccde280a605a (patch)
tree01e13f88272ea15e9d9dcc6c19e6fb839e6b0183 /src/usr/local/www/firewall_shaper_queues.php
parent5e866e1280c42f6b62abd48cab8099763e80c448 (diff)
downloadpfsense-aa64bb6565db2f788846eee9a62bccde280a605a.zip
pfsense-aa64bb6565db2f788846eee9a62bccde280a605a.tar.gz
Be more forthcoming with errors about ALTQ interfaces in relevant areas of the GUI. In particular, note when there are no capable interfaces assigned. Implements #7032
Diffstat (limited to 'src/usr/local/www/firewall_shaper_queues.php')
-rw-r--r--src/usr/local/www/firewall_shaper_queues.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_shaper_queues.php b/src/usr/local/www/firewall_shaper_queues.php
index d91e16c..0bdb99e 100644
--- a/src/usr/local/www/firewall_shaper_queues.php
+++ b/src/usr/local/www/firewall_shaper_queues.php
@@ -231,6 +231,14 @@ display_top_tabs($tab_array);
</div>
</form>
+<?php if (empty(get_interface_list_to_show())): ?>
+<div>
+ <div class="infoblock blockopen">
+ <?php print_info_box(gettext("This firewall does not have any interfaces assigned that are capable of using ALTQ traffic shaping."), 'danger', false); ?>
+ </div>
+</div>
+<?php endif; ?>
+
<?php
include("foot.inc");
?>
OpenPOWER on IntegriCloud