summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_vinterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_shaper_vinterface.php')
-rw-r--r--usr/local/www/firewall_shaper_vinterface.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php
index 24f7fff..7e36fc1 100644
--- a/usr/local/www/firewall_shaper_vinterface.php
+++ b/usr/local/www/firewall_shaper_vinterface.php
@@ -303,11 +303,15 @@ if ($queue) {
}
$tree = "<ul class=\"tree\" >";
+$rowIndex = 0;
if (is_array($dummynet_pipe_list)) {
foreach ($dummynet_pipe_list as $tmpdn) {
+ $rowIndex++;
$tree .= $tmpdn->build_tree();
}
}
+if ($rowIndex == 0)
+ $tree .= "<li></li>";
$tree .= "</ul>";
if (!$dontshow || $newqueue) {
OpenPOWER on IntegriCloud