Commit 564571c8 authored by Franco Fichtner's avatar Franco Fichtner

vpn: one more round of whitespaces

parent aa2d9156
...@@ -35,7 +35,7 @@ require_once("filter.inc"); ...@@ -35,7 +35,7 @@ require_once("filter.inc");
if (!is_array($config['ipsec'])) { if (!is_array($config['ipsec'])) {
$config['ipsec'] = array(); $config['ipsec'] = array();
} }
if (!is_array($config['ipsec']['mobilekey'])) { if (!is_array($config['ipsec']['mobilekey'])) {
$config['ipsec']['mobilekey'] = array(); $config['ipsec']['mobilekey'] = array();
} }
......
...@@ -34,7 +34,7 @@ require_once("vpn.inc"); ...@@ -34,7 +34,7 @@ require_once("vpn.inc");
if (!is_array($config['ipsec'])) { if (!is_array($config['ipsec'])) {
$config['ipsec'] = array(); $config['ipsec'] = array();
} }
if (!is_array($config['ipsec']['mobilekey'])) { if (!is_array($config['ipsec']['mobilekey'])) {
$config['ipsec']['mobilekey'] = array(); $config['ipsec']['mobilekey'] = array();
} }
......
...@@ -34,7 +34,7 @@ require_once("vpn.inc"); ...@@ -34,7 +34,7 @@ require_once("vpn.inc");
if (!is_array($config['ipsec'])) { if (!is_array($config['ipsec'])) {
$config['ipsec'] = array(); $config['ipsec'] = array();
} }
if (!is_array($config['ipsec']['phase1'])) if (!is_array($config['ipsec']['phase1']))
$config['ipsec']['phase1'] = array(); $config['ipsec']['phase1'] = array();
......
...@@ -36,7 +36,7 @@ require_once("vpn.inc"); ...@@ -36,7 +36,7 @@ require_once("vpn.inc");
if (!is_array($config['ipsec'])) { if (!is_array($config['ipsec'])) {
$config['ipsec'] = array(); $config['ipsec'] = array();
} }
if (!is_array($config['ipsec']['phase1'])) if (!is_array($config['ipsec']['phase1']))
$config['ipsec']['phase1'] = array(); $config['ipsec']['phase1'] = array();
......
...@@ -35,7 +35,7 @@ require_once("vpn.inc"); ...@@ -35,7 +35,7 @@ require_once("vpn.inc");
if (!is_array($config['ipsec'])) { if (!is_array($config['ipsec'])) {
$config['ipsec'] = array(); $config['ipsec'] = array();
} }
if (!is_array($config['ipsec']['client'])) if (!is_array($config['ipsec']['client']))
$config['ipsec']['client'] = array(); $config['ipsec']['client'] = array();
......
...@@ -36,7 +36,7 @@ require_once("vpn.inc"); ...@@ -36,7 +36,7 @@ require_once("vpn.inc");
if (!is_array($config['ipsec'])) { if (!is_array($config['ipsec'])) {
$config['ipsec'] = array(); $config['ipsec'] = array();
} }
$pconfig['noinstalllanspd'] = $config['system']['noinstalllanspd']; $pconfig['noinstalllanspd'] = $config['system']['noinstalllanspd'];
$pconfig['preferoldsa_enable'] = isset($config['ipsec']['preferoldsa']); $pconfig['preferoldsa_enable'] = isset($config['ipsec']['preferoldsa']);
foreach ($ipsec_loglevels as $lkey => $ldescr) { foreach ($ipsec_loglevels as $lkey => $ldescr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment