Commit 1a2ab2af authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent d27cdb43
......@@ -57,4 +57,3 @@ if (is_array($config['openvpn']) && is_array($config['openvpn']['openvpn-client'
}
}
}
......@@ -65,4 +65,3 @@ if (is_array($config['openvpn']) && is_array($config['openvpn']['openvpn-server'
}
}
}
......@@ -100,4 +100,3 @@ command:/usr/local/etc/rc.loader
parameters:
type:script
message: update loader.conf.local
......@@ -334,7 +334,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
foreach ($p1_ealgos as $algo => $algodata) {
if (!empty($pconfig['iketype']) && !empty($pconfig['encryption-algorithm']['name']) && !empty($algodata['iketype'])
if (!empty($pconfig['iketype']) && !empty($pconfig['encryption-algorithm']['name']) && !empty($algodata['iketype'])
&& $pconfig['iketype'] != $algodata['iketype'] && $pconfig['encryption-algorithm']['name'] == $algo) {
$input_errors[] = sprintf(gettext("%s can only be used with IKEv2 type VPNs."), $algodata['name']);
}
......
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