diff options
author | jim-p <jimp@pfsense.org> | 2010-06-16 13:12:14 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-16 13:12:14 -0400 |
commit | 6aa9ddce18a7a7e4e921e6f87ffae9a603c15404 (patch) | |
tree | 0ae3aec3d0e9fcc64d537ce291ca91319fc195f8 /usr/local | |
parent | ed476f6f106b5d59ee5ba064f001c541259712de (diff) | |
download | pfsense-6aa9ddce18a7a7e4e921e6f87ffae9a603c15404.zip pfsense-6aa9ddce18a7a7e4e921e6f87ffae9a603c15404.tar.gz |
Properly match SafeNet crypto cards. See http://forum.pfsense.org/index.php/topic,26056.0.html
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/index.php | 2 |
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; } |