summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-01-20 23:47:22 +0000
committerErmal Luçi <eri@pfsense.org>2008-01-20 23:47:22 +0000
commitc17774a68d61fe0b44c900d994ed1d1b7618d274 (patch)
tree300367f879b1a94edb8f0028232a9ca09f30cc7e /usr/local/www/status_queues.php
parent6ce2e00e6645627f2d71db2ed66b7c5f03404741 (diff)
downloadpfsense-c17774a68d61fe0b44c900d994ed1d1b7618d274.zip
pfsense-c17774a68d61fe0b44c900d994ed1d1b7618d274.tar.gz
Propperly show the name of interface on the queues status page.
Diffstat (limited to 'usr/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index c01e3bd..6d21bd4 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -51,7 +51,7 @@ foreach($pfctl_vsq_array as $pfctl) {
if(stristr($match_array[1][0],"root_")==false)
$a_queues[] = $match_array[1][0] . " on {$if}" ;
else {
- $if = preg_replace("(root_)", "", $if);
+ $if = preg_replace("(root_)", "", $match_array[1][0]);
foreach ($config['interfaces'] as $ifkey => $ifdesc) {
if ($ifdesc['if'] == $if) {
$if = $ifkey;
OpenPOWER on IntegriCloud