summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-01-27 21:18:01 +0000
committerBill Marquette <billm@pfsense.org>2008-01-27 21:18:01 +0000
commit31c75e3be66b1a3b6836496cdbb5b21a021fae6a (patch)
tree019345f1fde87f4c498fa5cbe41ed9972c9534cb /usr/local/www/status_queues.php
parent3ff92e9aa6274298634d78dab5fa7f5186e41755 (diff)
downloadpfsense-31c75e3be66b1a3b6836496cdbb5b21a021fae6a.zip
pfsense-31c75e3be66b1a3b6836496cdbb5b21a021fae6a.tar.gz
use friendly names, not opt names
Diffstat (limited to 'usr/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 6d21bd4..ca6a6a0 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -54,7 +54,11 @@ foreach($pfctl_vsq_array as $pfctl) {
$if = preg_replace("(root_)", "", $match_array[1][0]);
foreach ($config['interfaces'] as $ifkey => $ifdesc) {
if ($ifdesc['if'] == $if) {
- $if = $ifkey;
+ if ($ifdesc['descr'] != "") {
+ $if = htmlspecialchars($ifdesc['descr']);
+ } else {
+ $if = strtoupper($ifkey);
+ }
break;
}
}
OpenPOWER on IntegriCloud