summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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