summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index a4e19fe..eebe31f 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -90,7 +90,7 @@ function vpn_ipsec_configure($ipchg = false) {
if($g['booting'] == true) {
/* determine if we should load the via padlock module */
$dmesg_boot = file_get_contents("/var/log/dmesg.boot");
- if(stristr($dmesg_boot, "ACE")) {
+ if(stristr($dmesg_boot, "ACE") == true) {
echo "[VIA Padlock] ";
mwexec("/sbin/kldload padlock");
mwexec("sysctl net.inet.ipsec.crypto_support=1");
OpenPOWER on IntegriCloud