diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-01-20 23:47:22 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-01-20 23:47:22 +0000 |
commit | c17774a68d61fe0b44c900d994ed1d1b7618d274 (patch) | |
tree | 300367f879b1a94edb8f0028232a9ca09f30cc7e | |
parent | 6ce2e00e6645627f2d71db2ed66b7c5f03404741 (diff) | |
download | pfsense-c17774a68d61fe0b44c900d994ed1d1b7618d274.zip pfsense-c17774a68d61fe0b44c900d994ed1d1b7618d274.tar.gz |
Propperly show the name of interface on the queues status page.
-rwxr-xr-x | usr/local/www/status_queues.php | 2 |
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; |