summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-09-12 21:17:53 +0200
committerErmal <eri@pfsense.org>2014-09-12 21:17:53 +0200
commit7e7f07aec204236f01a385ebe6f2ae4957d98922 (patch)
tree4b39d64a4e61cc27af4cb9d4bf65062401f6f7f4 /etc
parente9a9e1a76815d960abab25d99758d73ca7631579 (diff)
downloadpfsense-7e7f07aec204236f01a385ebe6f2ae4957d98922.zip
pfsense-7e7f07aec204236f01a385ebe6f2ae4957d98922.tar.gz
This really does not need the =
Diffstat (limited to 'etc')
-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 364cffa..e92f308 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -52,7 +52,7 @@ function vpn_ipsec_configure_loglevels($forconfig = false)
mwexec("/usr/local/sbin/ipsec stroke loglevel {$lkey} -- -1", false);
else if (is_numeric($config['ipsec']["ipsec_{$lkey}"]) &&
intval($config['ipsec']["ipsec_{$lkey}"]) >= 1 && intval($config['ipsec']["ipsec_{$lkey}"]) <= 5)
- $forconfig ? $cfgtext[] = "${lkey} = " . (intval($config['ipsec']["ipsec_{$lkey}"]) - 1) :
+ $forconfig ? $cfgtext[] = "${lkey} " . (intval($config['ipsec']["ipsec_{$lkey}"]) - 1) :
mwexec("/usr/local/sbin/ipsec stroke loglevel {$lkey} " . (intval($config['ipsec']["ipsec_{$lkey}"]) - 1) , false);
}
if ($forconfig)
OpenPOWER on IntegriCloud