diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-02-23 02:22:30 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-02-23 02:22:30 +0000 |
commit | 21a0464c1a66792acd91e852c47d7838c49df303 (patch) | |
tree | d8d106d0dab053c921ab41a2a142faff0202648e /usr/local/www/firewall_rules_edit.php | |
parent | 8e2a7e8a28d893c287afc69538e7fdb30002ba86 (diff) | |
download | pfsense-21a0464c1a66792acd91e852c47d7838c49df303.zip pfsense-21a0464c1a66792acd91e852c47d7838c49df303.tar.gz |
* Unbreak rrd graphs for queues and make them multiinterface aware
* Add a new tab for queuedrops with multiinterface there is no way to have them in the same tab
* Remove $GLOBAL where used and use proper accessor functions
* Remove Manuel from copyright this file has been rewritten
* Some bugs fixes in general
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 033d7ff..bc509d8 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -993,9 +993,11 @@ on another rule.")?> <td width="78%" class="vtable"> <select name="ackqueue"> <?php - if (!is_array($altq_list_queues)) read_altq_config(); /* XXX: */ - foreach ($GLOBALS['unique_qlist'] as $q) { + $qlist =& get_unique_queue_list(); + if (!is_array($qlist)) + $qlist = array(); + foreach ($qlist as $q => $qkey) { echo "<option value=\"$q\""; if ($q == $pconfig['ackqueue']) { $qselected = 1; @@ -1011,7 +1013,7 @@ on another rule.")?> <select name="defaultqueue"> <?php $qselected = 0; - foreach ($GLOBALS['unique_qlist'] as $q) { + foreach ($qlist as $q => $qkey) { echo "<option value=\"$q\""; if ($q == $pconfig['defaultqueue']) { $qselected = 1; |