summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_shaper.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.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.php')
-rw-r--r--src/usr/local/www/firewall_shaper.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_shaper.php b/src/usr/local/www/firewall_shaper.php
index 54f38bb..82410cc 100644
--- a/src/usr/local/www/firewall_shaper.php
+++ b/src/usr/local/www/firewall_shaper.php
@@ -452,6 +452,14 @@ if (!$dfltmsg && $sform) {
</table>
</div>
+<?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
if ($dfltmsg) {
?>
OpenPOWER on IntegriCloud