summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmb-macbook-pro.local>2009-03-10 17:51:03 -0400
committerChris Buechler <cmb@cmb-macbook-pro.local>2009-03-10 17:51:03 -0400
commit0f558379e53fbdba0a4d22ecb24870892562d8f9 (patch)
treec3a3a26cee7be477fce8085678ee34f99cb7e5fd /usr/local/www/index.php
parent2627439efccade1c68d2a848f6da425f39bd5767 (diff)
downloadpfsense-0f558379e53fbdba0a4d22ecb24870892562d8f9.zip
pfsense-0f558379e53fbdba0a4d22ecb24870892562d8f9.tar.gz
Match crypto on safe, ubsec, padlock and glxsb in addition to hifn
Ticket #1890 (cvstrac)
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 1772cef..498e04c 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -146,7 +146,7 @@ EOF;
if ($fd) {
while (!feof($fd)) {
$dmesgl = fgets($fd);
- if (preg_match("/^hifn.: (.*?),/", $dmesgl, $matches)) {
+ if (preg_match("/^hifn.: (.*?),/", $dmesgl, $matches) or preg_match("/^safe.: (.*?),/", $dmesgl, $matches) or preg_match("/^ubsec.: (.*?),/", $dmesgl, $matches) or preg_match("/^padlock.: (.*?),/", $dmesgl, $matches) or preg_match("/^glxsb.: (.*?),/", $dmesgl, $matches)) {
$hwcrypto = $matches[1];
break;
}
OpenPOWER on IntegriCloud