diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/status_queues.php | 6 |
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; } } |