diff options
author | Ermal <eri@pfsense.org> | 2014-09-12 17:12:29 +0200 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-09-12 17:13:54 +0200 |
commit | e373e4cd1cd9557f5ad6ec87c869d44b779357b1 (patch) | |
tree | d3e65de5236919792c9296b9e2e7448bdbeaf4ee /etc | |
parent | 1a6769a630b73e20dc093df7d9b59e8bd4dfce74 (diff) | |
download | pfsense-e373e4cd1cd9557f5ad6ec87c869d44b779357b1.zip pfsense-e373e4cd1cd9557f5ad6ec87c869d44b779357b1.tar.gz |
Make this work properly and not throw out errors.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 6600f84..581479c 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -49,7 +49,7 @@ function vpn_ipsec_configure_loglevels($forconfig = false) $cfgtext = array(); foreach ($ipsec_loglevels as $lkey => $ldescr) { if (!isset($config['ipsec']["ipsec_{$lkey}"]) && !$forconfig) - mwexec("/usr/local/sbin/ipsec stroke loglevel {$lkey} -1", 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) : |