diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2015-11-10 08:57:27 -0600 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2015-11-10 09:00:01 -0600 |
commit | a2e6d7f82f4811c743542837bf56c4336a6711eb (patch) | |
tree | ca5eccd279c5eba1afb13216b24f29afc8532790 | |
parent | 10fe1eb50b7af073098bd72681ec49c1ccb11103 (diff) | |
download | pfsense-a2e6d7f82f4811c743542837bf56c4336a6711eb.zip pfsense-a2e6d7f82f4811c743542837bf56c4336a6711eb.tar.gz |
Make the display of hardware crypto information more reliable at least for AESNI.
Issue: #4911
-rw-r--r-- | src/usr/local/www/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index f26e7f3..cb08c80 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -213,13 +213,14 @@ if ($fd) { 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) - or preg_match("/^aesni.: (.*?),/", $dmesgl, $matches)) { + or preg_match("/^glxsb.: (.*?),/", $dmesgl, $matches)) { $hwcrypto = $matches[1]; break; } } fclose($fd); + if (!isset($hwcrypto) && get_single_sysctl("dev.aesni.0.%desc")) + $hwcrypto = get_single_sysctl("dev.aesni.0.%desc"); } ##build widget saved list information |