summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-16 13:12:14 -0400
committerjim-p <jimp@pfsense.org>2010-06-16 13:12:14 -0400
commit6aa9ddce18a7a7e4e921e6f87ffae9a603c15404 (patch)
tree0ae3aec3d0e9fcc64d537ce291ca91319fc195f8
parented476f6f106b5d59ee5ba064f001c541259712de (diff)
downloadpfsense-6aa9ddce18a7a7e4e921e6f87ffae9a603c15404.zip
pfsense-6aa9ddce18a7a7e4e921e6f87ffae9a603c15404.tar.gz
Properly match SafeNet crypto cards. See http://forum.pfsense.org/index.php/topic,26056.0.html
-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 0463750..68755f9 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -165,7 +165,7 @@ EOF;
if ($fd) {
while (!feof($fd)) {
$dmesgl = fgets($fd);
- if (preg_match("/^hifn.: (.*?),/", $dmesgl, $matches) or preg_match("/.*(VIA Padlock)/", $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)) {
+ if (preg_match("/^hifn.: (.*?),/", $dmesgl, $matches) or preg_match("/.*(VIA Padlock)/", $dmesgl, $matches) or preg_match("/^safe.: (\w.*)/", $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